Skip to content

Commit

Permalink
Pass default-volumes-to-restic flag from create schedule to backup (#…
Browse files Browse the repository at this point in the history
…2776)

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

Signed-off-by: Ashish Amarnath <[email protected]>
  • Loading branch information
ashish-amarnath authored Aug 12, 2020
1 parent 70e9391 commit 9eca0fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/unreleased/2776-ashish-amarnath
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pass default-volumes-to-restic flag from create schedule to backup
1 change: 1 addition & 0 deletions pkg/cmd/cli/schedule/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 9eca0fc

Please sign in to comment.