aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Castelli <fcastelli@suse.com>2018-02-19 15:20:35 +0100
committerFlavio Castelli <fcastelli@suse.com>2018-02-19 15:20:35 +0100
commitb364c458adb77c48807622019818b652665378d0 (patch)
tree71a83290e35293f69bf106c0d5ed25c988c37b67
parent0c5cd9c0460accc52e7bdca625d455741f1f6b3a (diff)
downloadterraform-provider-libvirt-b364c458adb77c48807622019818b652665378d0.tar
terraform-provider-libvirt-b364c458adb77c48807622019818b652665378d0.tar.gz
Travis: fix error
Fix linting error, ensure tests are actually run
-rw-r--r--.travis.yml1
-rw-r--r--libvirt/provider.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 4714805e..0fddc031 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,4 +13,5 @@ script:
- make gofmtcheck
- make vet
- golint -set_exit_status libvirt/
+ - make test
- goveralls -coverprofile=profile.cov -service=travis-ci
diff --git a/libvirt/provider.go b/libvirt/provider.go
index cbe9ab95..ea7a250a 100644
--- a/libvirt/provider.go
+++ b/libvirt/provider.go
@@ -10,6 +10,8 @@ import (
// Global poolMutexKV
var poolMutexKV = mutexkv.NewMutexKV()
+
+// LibvirtClient global variable holding the connection to the libvirtd daemon
var LibvirtClient *libvirt.Connect
// Provider libvirt