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 authored and GitHub committed 2019-05-14 10:18:28 +03:00
1 parent 34f9b3ff2b
commit 79ac3fd699
3 files changed
+8 -7

No files matched your search

+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
}