diff --git a/auth/store.go b/auth/store.go index 3d135645e4c9..c5e58ca6ed10 100644 --- a/auth/store.go +++ b/auth/store.go @@ -290,9 +290,9 @@ func (as *authStore) AuthStatus() bool { defer as.enabledMu.Unlock() if as.IsAuthEnabled() { return true - } else { - return false } + + return false } func (as *authStore) Close() error {