Initialize klog

This commit is contained in:
Łukasz Osipiuk 2018-11-26 20:21:23 +01:00
parent e7dd383751
commit d53928a11d
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,8 @@ func run(healthCheck *metrics.HealthCheck) {
} }
func main() { func main() {
klog.InitFlags(nil)
leaderElection := defaultLeaderElectionConfiguration() leaderElection := defaultLeaderElectionConfiguration()
leaderElection.LeaderElect = true leaderElection.LeaderElect = true