We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25dd078 + a6340ec commit 559a94eCopy full SHA for 559a94e
jetstream/util.go
@@ -355,7 +355,7 @@ func connectMgr(d *schema.ResourceData) (interface{}, error) {
355
}
356
357
switch {
358
- case props.user != "" && props.pass == "":
+ case props.user != "" && props.pass != "":
359
opts = append(opts, nats.UserInfo(props.user, props.pass))
360
case props.user != "":
361
opts = append(opts, nats.Token(props.user))
0 commit comments