Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mwennrich committed Jun 30, 2022
1 parent d692231 commit b268fe7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ func loadConfig() kubernetes.Interface {
func main() {
var wg sync.WaitGroup

flag.Set("logtostderr", "true")
err:=flag.Set("logtostderr", "true")
if err != nil {
panic(err.Error())
}

clientset := loadConfig()
sharedInformers := informers.NewSharedInformerFactory(clientset, viper.GetDuration("resync-interval"))
Expand Down

0 comments on commit b268fe7

Please sign in to comment.