[VOL-2952] :changes to fill port labels for PON ports with easily understandable values
Change-Id: I4a271dfc94068c92d4e00ba67e6f873459d97327
diff --git a/internal/pkg/core/device_handler.go b/internal/pkg/core/device_handler.go
index 6db0063..a008e65 100644
--- a/internal/pkg/core/device_handler.go
+++ b/internal/pkg/core/device_handler.go
@@ -264,7 +264,7 @@
dh.activePorts.Store(intfID, false)
}
portNum := IntfIDToPortNo(intfID, portType)
- label, err := GetportLabel(portNum, portType)
+ label, err := GetportLabel(intfID, portType)
if err != nil {
return olterrors.NewErrNotFound("port-label", log.Fields{"port-number": portNum, "port-type": portType}, err)
}