Skip to content

Commit

Permalink
fix sasl validation (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
petedannemann authored Feb 27, 2024
1 parent 2e83480 commit 48409ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/topicctl/subcmd/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (s sharedOptions) validate() error {
log.Warn("Username and password are ignored if using SASL AWS-MSK-IAM")
}

if s.saslUsername != "" || s.saslPassword != "" && s.saslSecretsManagerArn != "" {
if (s.saslUsername != "" || s.saslPassword != "") && s.saslSecretsManagerArn != "" {
err = multierror.Append(err, errors.New("Cannot set both sasl-username or sasl-password and sasl-secrets-manager-arn"))
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package version

// Version is the current topicctl version.
const Version = "1.14.1"
const Version = "1.14.2"

0 comments on commit 48409ce

Please sign in to comment.