[VOL-5291] - On demand onu stats from olt
Change-Id: I65e7b5a8bd93ec862726a7302dcc18be16855b4f
Signed-off-by: Akash Reddy Kankanala <akash.kankanala@radisys.com>
diff --git a/internal/pkg/core/statsmanager_test.go b/internal/pkg/core/statsmanager_test.go
index 1cec548..fe845d6 100644
--- a/internal/pkg/core/statsmanager_test.go
+++ b/internal/pkg/core/statsmanager_test.go
@@ -23,6 +23,7 @@
"reflect"
"testing"
+ "github.com/opencord/voltha-protos/v5/go/common"
"github.com/opencord/voltha-protos/v5/go/openolt"
"github.com/opencord/voltha-protos/v5/go/voltha"
)
@@ -45,14 +46,14 @@
StatMgr := NewOpenOltStatsMgr(context.Background(), dh)
type args struct {
- PortStats *openolt.PortStatistics
+ PortStats *common.PortStatistics
}
tests := []struct {
name string
args args
}{
// TODO: Add test cases.
- {"PortStatisticsIndication", args{PortStats: &openolt.PortStatistics{}}},
+ {"PortStatisticsIndication", args{PortStats: &common.PortStatistics{}}},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {