Pass default-volumes-to-restic flag from create schedule to backup (#2776)

* Pass default-volumes-to-restic flag from create schedule to backup

Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
Ashish Amarnath
2020-08-12 12:09:07 -07:00
committed by GitHub
parent 70e9391278
commit 9eca0fcbff
2 changed files with 2 additions and 0 deletions
@@ -0,0 +1 @@
Pass default-volumes-to-restic flag from create schedule to backup
+1
View File
@@ -133,6 +133,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
TTL: metav1.Duration{Duration: o.BackupOptions.TTL},
StorageLocation: o.BackupOptions.StorageLocation,
VolumeSnapshotLocations: o.BackupOptions.SnapshotLocations,
DefaultVolumesToRestic: o.BackupOptions.DefaultVolumesToRestic.Value,
},
Schedule: o.Schedule,
},