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:
committed by
Denise
parent
2c270fa5ab
commit
2bced88bad
@@ -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
|
||||
|
Reference in New Issue
Block a user