Skip to content

Commit

Permalink
[FEAT] relax protocol names to allow for ws/wss for account resolver …
Browse files Browse the repository at this point in the history
…operations (#209)
  • Loading branch information
aricart authored Oct 24, 2023
1 parent 4b4f550 commit 012e7a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion v2/operator_claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,12 @@ func ValidateOperatorServiceURL(v string) error {
return nil
case "tls":
return nil
case "ws":
return nil
case "wss":
return nil
default:
return fmt.Errorf("operator service url %q - protocol not supported (only 'nats' or 'tls' only)", v)
return fmt.Errorf("operator service url %q - protocol not supported (only 'nats', 'tls', 'ws', 'wss' only)", v)
}
}

Expand Down

0 comments on commit 012e7a3

Please sign in to comment.