diff --git a/controller/nucleus/deviceWatcher.go b/controller/nucleus/deviceWatcher.go index eb53357f512061baaaf859567a9d9fc6e256874b..8b10acee226fdce05781748bc8ddee88a08327ed 100644 --- a/controller/nucleus/deviceWatcher.go +++ b/controller/nucleus/deviceWatcher.go @@ -86,8 +86,8 @@ func (d *DeviceWatcher) callSubscribe(stopContext context.Context, pndID string, gNMIOptionsCtx := context.Background() gNMIOptionsCtx = context.WithValue(gNMIOptionsCtx, types.CtxKeyOpts, opts) - // device ID and name are passed to the internal subscribe to check in which device - // a problem occurs in case of an error + // SubscriptionInformation conatins pnd ID, device ID and name to be used in the internal subscribe to check + // from which device a response or a problem occurs in case of an error if err := device.Transport().SubscribeInternal(gNMIOptionsCtx, handleSubscribeResponse, &transport.SubscriptionInformation{ PndID: pndID, DeviceID: device.ID().String(),