Chore: remove use of == false (#17036)
Interestingly enough, golint or revive doesn't not prohibit the use that construction :) Ref #17035
This commit is contained in:
@@ -92,7 +92,7 @@ func New(options *Options) *AuthProxy {
|
||||
func (auth *AuthProxy) IsEnabled() bool {
|
||||
|
||||
// Bail if the setting is not enabled
|
||||
if auth.enabled == false {
|
||||
if !auth.enabled {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user