mirror of
https://github.com/rancher/rke.git
synced 2025-10-20 18:40:43 +00:00
Don't disable all backups based on backup flag
This commit is contained in:
committed by
Alena Prokharchyk
parent
b6d90f4110
commit
5d1084ad80
@@ -293,7 +293,7 @@ func RunEtcdSnapshotSave(ctx context.Context, etcdHost *hosts.Host, prsMap map[s
|
||||
imageCfg.Cmd = append(imageCfg.Cmd, "--creation="+es.Creation)
|
||||
}
|
||||
|
||||
if es.BackupConfig != nil && es.BackupConfig.Enabled != nil && *es.BackupConfig.Enabled {
|
||||
if es.BackupConfig != nil {
|
||||
imageCfg = configS3BackupImgCmd(ctx, imageCfg, es.BackupConfig)
|
||||
}
|
||||
hostCfg := &container.HostConfig{
|
||||
|
Reference in New Issue
Block a user