Adding onu and uni information to SedulerQueues errors
Change-Id: Icbe7a441d2c01c30c18bc8458bcda590e8693046
diff --git a/internal/pkg/core/openolt_flowmgr.go b/internal/pkg/core/openolt_flowmgr.go
index 83da756..b82d7f6 100644
--- a/internal/pkg/core/openolt_flowmgr.go
+++ b/internal/pkg/core/openolt_flowmgr.go
@@ -773,6 +773,9 @@
logger.Errorw(ctx, "CreateSchedulerQueues-failed-upstream",
log.Fields{
"error": err,
+ "onu-id": onuID,
+ "uni-id": uniID,
+ "intf-id": intfID,
"meter-id": UsMeterID,
"device-id": f.deviceHandler.device.Id})
return 0, nil, nil
@@ -785,6 +788,9 @@
logger.Errorw(ctx, "CreateSchedulerQueues-failed-downstream",
log.Fields{
"error": err,
+ "onu-id": onuID,
+ "uni-id": uniID,
+ "intf-id": intfID,
"meter-id": DsMeterID,
"device-id": f.deviceHandler.device.Id})
return 0, nil, nil