Extending error message for 'voltctl log level list' command
Change-Id: I429163b7973280094d98a8c0836195a1168760fe
diff --git a/VERSION b/VERSION
index e25d8d9..25b6557 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.1.5
+1.1.6-dev
diff --git a/internal/pkg/commands/log.go b/internal/pkg/commands/log.go
index c745424..2c463b4 100644
--- a/internal/pkg/commands/log.go
+++ b/internal/pkg/commands/log.go
@@ -622,7 +622,7 @@
if len(options.Args.Component) == 0 {
componentList, err = cm.RetrieveComponentList(ctx, config.ConfigTypeLogLevel)
if err != nil {
- return fmt.Errorf("Unable to retrieve list of voltha components : %s ", err)
+ return fmt.Errorf("Unable to retrieve list of voltha components : %s \nIs ETCD available at %s:%d?", err, host, port)
}
} else {
componentList = toStringArray(options.Args.Component)