Fix typo in error message (#969)
This commit is contained in:
parent
a5bb8d913c
commit
852f29274a
|
|
@ -331,7 +331,7 @@ func (c *Cluster) recreatePods() error {
|
||||||
c.logger.Infof("there are %d pods in the cluster to recreate", len(pods.Items))
|
c.logger.Infof("there are %d pods in the cluster to recreate", len(pods.Items))
|
||||||
|
|
||||||
if !c.isSafeToRecreatePods(pods) {
|
if !c.isSafeToRecreatePods(pods) {
|
||||||
return fmt.Errorf("postpone pod recreation until next Sync: recreation is unsafe because pods are being initilalized")
|
return fmt.Errorf("postpone pod recreation until next Sync: recreation is unsafe because pods are being initialized")
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue