1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-19 18:30:38 +00:00

Create loglink for etcd-rolling-snapshots

This commit is contained in:
Sebastiaan van Steenis
2020-07-31 14:23:25 +02:00
committed by Denise
parent 2c270fa5ab
commit 2bced88bad

View File

@@ -68,6 +68,9 @@ func RunEtcdPlane(
if err := pki.SaveBackupBundleOnHost(ctx, host, rkeToolsImage, EtcdSnapshotPath, prsMap); err != nil {
return err
}
if err := createLogLink(ctx, host, EtcdSnapshotContainerName, ETCDRole, alpineImage, prsMap); err != nil {
return err
}
} else {
if err := docker.DoRemoveContainer(ctx, host.DClient, EtcdSnapshotContainerName, host.Address); err != nil {
return err