Merge pull request #106314 from shivanshu1333/fix/master/105841
Migrated remaining lines of `server.go` and `csi.go` to structured logging
This commit is contained in:
@@ -205,7 +205,8 @@ func Run(ctx context.Context, cc *schedulerserverconfig.CompletedConfig, sched *
|
||||
os.Exit(0)
|
||||
default:
|
||||
// We lost the lock.
|
||||
klog.Exitf("leaderelection lost")
|
||||
klog.ErrorS(nil, "Leaderelection lost")
|
||||
os.Exit(1)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user