Skip to content

Commit

Permalink
remove redundant parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
usernameisnull committed Oct 31, 2023
1 parent d1dac6d commit 86f6e19
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 86f6e19

Please sign in to comment.