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:
committed by
Alena Prokharchyk
parent
bfbdf33820
commit
e3d6fb4db9
@@ -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
|
||||
|
Reference in New Issue
Block a user