From 3c3781415c082ccf5f159cffd67d376d434c1264 Mon Sep 17 00:00:00 2001 From: Dan Deason Date: Mon, 22 Apr 2024 08:32:54 -0500 Subject: [PATCH] changes to properly merge 90e021cffeecc070fa33f24c3a4d93a0c4da0910 --- subscription.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscription.go b/subscription.go index 55cdea5e..80f5a6d1 100644 --- a/subscription.go +++ b/subscription.go @@ -252,7 +252,7 @@ func (s *Subscription) SetMonitoringMode(ctx context.Context, monitoringMode ua. MonitoredItemIDs: monitoredItemIDs, } var res *ua.SetMonitoringModeResponse - err = s.c.Send(ctx, req, func(v interface{}) error { + err = s.c.Send(ctx, req, func(v ua.Response) error { return safeAssign(v, &res) }) if err != nil {