From 862672eac6a6c767218f51f21332f584e900f6c4 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Mon, 22 May 2023 11:33:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20do=20not=20do=20endpoint=20disco?= =?UTF-8?q?very?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- motor/providers/opcua/opcua.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motor/providers/opcua/opcua.go b/motor/providers/opcua/opcua.go index 87885de441..447d789fb6 100644 --- a/motor/providers/opcua/opcua.go +++ b/motor/providers/opcua/opcua.go @@ -49,7 +49,7 @@ func New(pCfg *providers.Config) (*Provider, error) { opcua.SecurityFromEndpoint(ep, ua.UserTokenTypeAnonymous), } - c := opcua.NewClient(ep.EndpointURL, opts...) + c := opcua.NewClient(endpoint, opts...) if err := c.Connect(ctx); err != nil { return nil, err }