[VOL-5291] - pon & nni stats changes, onu stats from OLT, onu stats from onu
Change-Id: I4f23cb1b1276d27ca6f2c183875b8b227f772edd
Signed-off-by: Akash Reddy Kankanala <akash.kankanala@radisys.com>
diff --git a/internal/pkg/commands/log.go b/internal/pkg/commands/log.go
index 56c27cd..2390e02 100644
--- a/internal/pkg/commands/log.go
+++ b/internal/pkg/commands/log.go
@@ -97,7 +97,7 @@
} `positional-args:"yes" required:"yes"`
}
-// EnableLogTracingOpts represents the supported CLI arguments for the log tracing enable command
+// EnableLogTracingOpts represents the supported CLI arguments for the log tracing enable command
type EnableLogTracingOpts struct {
OutputOptions
Args struct {
@@ -105,7 +105,7 @@
} `positional-args:"yes" required:"yes"`
}
-// DisableLogTracingOpts represents the supported CLI arguments for the log tracing disable command
+// DisableLogTracingOpts represents the supported CLI arguments for the log tracing disable command
type DisableLogTracingOpts struct {
OutputOptions
Args struct {
@@ -113,7 +113,7 @@
} `positional-args:"yes" required:"yes"`
}
-// ListLogTracingOpts represents the supported CLI arguments for the log tracing list command
+// ListLogTracingOpts represents the supported CLI arguments for the log tracing list command
type ListLogTracingOpts struct {
ListOutputOptions
Args struct {
@@ -575,7 +575,7 @@
logLevelConfig, err = processComponentListArgs(toStringArray(options.Args.Component))
if err != nil {
- return fmt.Errorf(err.Error())
+ return err
}
ctx, cancel := context.WithTimeout(context.Background(), GlobalConfig.Current().KvStoreConfig.Timeout)