Fix porting bug. Go Fmt rm test.go
Change-Id: Ia919890156c472498594440080713dd04e422770
diff --git a/adaptercore/statsmanager_test.go b/adaptercore/statsmanager_test.go
index 211f82a..6f16493 100644
--- a/adaptercore/statsmanager_test.go
+++ b/adaptercore/statsmanager_test.go
@@ -94,6 +94,7 @@
ONUsByID: nil,
RxBytes: 0,
RxPackets: 0,
+ RxUcastPackets: 0,
RxMcastPackets: 0,
RxBcastPackets: 0,
RxErrorPackets: 0,
@@ -103,6 +104,8 @@
TxMcastPackets: 0,
TxBcastPackets: 0,
TxErrorPackets: 0,
+ RxCrcErrors: 0,
+ BipErrors: 0,
}
nnimap := map[uint32]*NniPort{}
nnimap[0] = &NniPort{
@@ -112,6 +115,7 @@
IntfID: 0,
RxBytes: 0,
RxPackets: 0,
+ RxUcastPackets: 0,
RxMcastPackets: uint64(1111),
RxBcastPackets: 0,
RxErrorPackets: 0,
@@ -121,6 +125,8 @@
TxMcastPackets: 0,
TxBcastPackets: 0,
TxErrorPackets: 0,
+ RxCrcErrors: 0,
+ BipErrors: 0,
}
pval := make(map[string]float32)
pval["rx_bytes"] = float32(111)