Skip to content

Commit

Permalink
🧹 do not do endpoint discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed May 28, 2023
1 parent c2cec00 commit 862672e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motor/providers/opcua/opcua.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 862672e

Please sign in to comment.