diff options
author | 2019-05-22 01:45:47 +0000 | |
---|---|---|
committer | 2019-05-22 01:45:47 +0000 | |
commit | 09433fb59e63a96a1e6d08fdd6061c59b3813e61 (patch) | |
tree | 15c3dd57dbe88b7cca4bed611820b700c6a7f4bc /src/k8splugin/internal/utils.go | |
parent | 65003b68b650dee4bb81d975707a580722fc3897 (diff) | |
parent | 2ef97138d3934e1286e737e6ba1ec5dcb1771261 (diff) |
Merge "Print error message for etcd connection failure"
Diffstat (limited to 'src/k8splugin/internal/utils.go')
-rw-r--r-- | src/k8splugin/internal/utils.go | 2 |
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 } |