Skip to content

Commit

Permalink
Fix k8sEnabled declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wregglesworth committed May 16, 2023
1 parent f9d0c70 commit d291de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func main() {
}
log.Info("done configuring user lookups")

var k8sEnabled = false
var k8sEnabled bool
if cfg.InConfig("vice.k8s-enabled") {
k8sEnabled = cfg.GetBool("vice.k8s-enabled")
} else {
Expand Down

0 comments on commit d291de6

Please sign in to comment.