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:
Oleg Gaidarenko
2019-05-14 10:18:28 +03:00
committed by GitHub
parent 34f9b3ff2b
commit 79ac3fd699
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -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
}