From 1ef624b2e4cc799251dd47ae4ec2bf6f917b1fd6 Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.b.seidl@stud.h-da.de> Date: Mon, 11 Jul 2022 10:10:13 +0200 Subject: [PATCH] updated subscriptions --- controller/nucleus/deviceWatcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/nucleus/deviceWatcher.go b/controller/nucleus/deviceWatcher.go index eb53357f5..8b10acee2 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(), -- GitLab