mirror of
https://github.com/rancher/rke.git
synced 2025-07-13 07:04:52 +00:00
Merge pull request #3100 from superseb/v14_fix_etcd_minimal_panic
This commit is contained in:
commit
6b3732ec1f
@ -51,7 +51,7 @@ func (c *Cluster) SnapshotEtcd(ctx context.Context, snapshotName string) error {
|
||||
log.Infof(ctx, "[etcd] Finished saving snapshot [%s] on all etcd hosts", snapshotName)
|
||||
}
|
||||
|
||||
if c.Services.Etcd.BackupConfig.S3BackupConfig == nil {
|
||||
if c.Services.Etcd.BackupConfig != nil && c.Services.Etcd.BackupConfig.S3BackupConfig == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user