[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/handler.go b/internal/pkg/commands/handler.go
index 0c6d32b..00a0aca 100644
--- a/internal/pkg/commands/handler.go
+++ b/internal/pkg/commands/handler.go
@@ -16,12 +16,13 @@
 package commands
 
 import (
-	"github.com/golang/protobuf/proto"
+	"io"
+
+	"github.com/golang/protobuf/proto" //nolint:staticcheck
 	"github.com/jhump/protoreflect/desc"
 	"github.com/jhump/protoreflect/dynamic"
 	"google.golang.org/grpc/metadata"
 	"google.golang.org/grpc/status"
-	"io"
 )
 
 type RpcEventHandler struct {
@@ -54,7 +55,7 @@
 		return err
 	}
 
-	if h.Fields == nil || len(h.Fields) == 0 {
+	if len(h.Fields) == 0 {
 		return io.EOF
 	}