SEBA-796 report connection error messages
Change-Id: I66b3339c8f9b25147fc6b67756f1afc16e332506
diff --git a/internal/pkg/commands/config.go b/internal/pkg/commands/config.go
index 81875a5..f5ede01 100644
--- a/internal/pkg/commands/config.go
+++ b/internal/pkg/commands/config.go
@@ -19,6 +19,7 @@
import (
"fmt"
flags "github.com/jessevdk/go-flags"
+ "github.com/opencord/cordctl/internal/pkg/config"
"gopkg.in/yaml.v2"
)
@@ -49,8 +50,8 @@
func (options *ConfigOptions) Execute(args []string) error {
//GlobalConfig
- ProcessGlobalOptions()
- b, err := yaml.Marshal(GlobalConfig)
+ config.ProcessGlobalOptions()
+ b, err := yaml.Marshal(config.GlobalConfig)
if err != nil {
return err
}