Skip to content

Commit e0f5d85

Browse files
committed
update comment
1 parent 5194af7 commit e0f5d85

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

client.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ func GetEndpoints(ctx context.Context, endpoint string, opts ...Option) ([]*ua.E
8484
// SelectEndpoint returns the endpoint with the highest security level which matches
8585
// security policy and security mode. policy and mode can be omitted so that
8686
// only one of them has to match.
87-
// todo(fs): should this function return an error?
8887
func SelectEndpoint(endpoints []*ua.EndpointDescription, policy string, mode ua.MessageSecurityMode) (*ua.EndpointDescription, error) {
8988
if len(endpoints) == 0 {
9089
return nil, errors.Errorf("no endpoints available")

0 commit comments

Comments
 (0)