summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-05-22 01:45:47 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-22 01:45:47 +0000
commit09433fb59e63a96a1e6d08fdd6061c59b3813e61 (patch)
tree15c3dd57dbe88b7cca4bed611820b700c6a7f4bc
parent65003b68b650dee4bb81d975707a580722fc3897 (diff)
parent2ef97138d3934e1286e737e6ba1ec5dcb1771261 (diff)
Merge "Print error message for etcd connection failure"
-rw-r--r--src/k8splugin/internal/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/internal/utils.go b/src/k8splugin/internal/utils.go
index 681b1b52..1a1b8de7 100644
--- a/src/k8splugin/internal/utils.go
+++ b/src/k8splugin/internal/utils.go
@@ -88,7 +88,7 @@ func CheckDatabaseConnection() error {
}
err = db.NewEtcdClient(nil, c)
if err != nil {
- log.Printf("Etcd Client Initialization failed")
+ log.Printf("Etcd Client Initialization failed with error: %s", err.Error())
}
return nil
}