mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-04-20 15:50:33 +00:00
Fix bug to make the restic prune frequency configurable
We introduces the installation option "--default-restic-prune-frequency" to make restic prune frequency configuration in the previous release, but there is a bug that make the option don't take effect. This commit fixes the bug by removing the evaluation part. The restic repository controller will take care the prune frequency for the repository Fixes #3062 Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
This commit is contained in:
1
changelogs/unreleased/4518-ywk253100
Normal file
1
changelogs/unreleased/4518-ywk253100
Normal file
@@ -0,0 +1 @@
|
||||
Fix bug to make the restic prune frequency configurable
|
||||
@@ -160,7 +160,6 @@ func (r *repositoryEnsurer) EnsureRepo(ctx context.Context, namespace, volumeNam
|
||||
Spec: velerov1api.ResticRepositorySpec{
|
||||
VolumeNamespace: volumeNamespace,
|
||||
BackupStorageLocation: backupLocation,
|
||||
MaintenanceFrequency: metav1.Duration{Duration: DefaultMaintenanceFrequency},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user