Skip to content

Commit

Permalink
remove redundant parentheses (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
usernameisnull committed Nov 14, 2023
1 parent 7d23f73 commit 53deac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/sts.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func (c *Controller) ValidateServiceAccountJWT(ctx *context.Context, token strin
// **WARNING** This will change and will be default to "on" in operator v5
func IsSTSEnabled() bool {
value, set := os.LookupEnv(STSEnabled)
return (set && value == "on")
return set && value == "on"
}

// generateConsoleTLSCert Issues the Operator Console TLS Certificate
Expand Down

0 comments on commit 53deac5

Please sign in to comment.