If preload fails on hot restart, log warning instead of erroring out
parent
f4f00bb2eb
commit
f52df44fd5
|
@ -531,7 +531,7 @@ func (k *Bootstrapper) UpdateCluster(cfg config.ClusterConfig) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := r.Preload(cfg.KubernetesConfig); err != nil {
|
if err := r.Preload(cfg.KubernetesConfig); err != nil {
|
||||||
return errors.Wrap(err, "preloading")
|
glog.Infof("prelaoding failed, will try to load cached images: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg.KubernetesConfig.ShouldLoadCachedImages {
|
if cfg.KubernetesConfig.ShouldLoadCachedImages {
|
||||||
|
|
Loading…
Reference in New Issue