1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 21:52:08 +00:00

Restore backup to a new etcd plane

This commit is contained in:
moelsayed
2019-03-04 18:59:43 +02:00
committed by Alena Prokharchyk
parent bfbdf33820
commit e3d6fb4db9
8 changed files with 54 additions and 20 deletions

View File

@@ -158,7 +158,7 @@ func RestoreEtcdSnapshot(
}
if err := cluster.RestartClusterPods(ctx, kubeCluster); err != nil {
return nil
return err
}
if err := kubeCluster.RemoveOldNodes(ctx); err != nil {
return err