mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #103550 from tkashem/apf-bootstrap-log-message
apf: fix bootstrap ensurer log message
This commit is contained in:
commit
e67979eaf6
@ -129,7 +129,7 @@ func ensureAPFBootstrapConfiguration(hookContext genericapiserver.PostStartHookC
|
||||
// we have successfully initialized the bootstrap configuration, now we
|
||||
// spin up a goroutine which reconciles the bootstrap configuration periodically.
|
||||
go func() {
|
||||
err := wait.PollImmediateUntil(
|
||||
wait.PollImmediateUntil(
|
||||
time.Minute,
|
||||
func() (bool, error) {
|
||||
if err := ensure(clientset); err != nil {
|
||||
@ -138,9 +138,7 @@ func ensureAPFBootstrapConfiguration(hookContext genericapiserver.PostStartHookC
|
||||
// always auto update both suggested and mandatory configuration
|
||||
return false, nil
|
||||
}, hookContext.StopCh)
|
||||
if err != nil {
|
||||
klog.ErrorS(err, "APF bootstrap ensurer is exiting")
|
||||
}
|
||||
klog.Info("APF bootstrap ensurer is exiting")
|
||||
}()
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user