mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-18 14:04:39 +00:00
Fix schedule create dropping backup type
Signed-off-by: Daniel Mungai <chegedan699@gmail.com>
This commit is contained in:
@@ -163,6 +163,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
|
||||
ItemOperationTimeout: metav1.Duration{Duration: o.BackupOptions.ItemOperationTimeout},
|
||||
DataMover: o.BackupOptions.DataMover,
|
||||
SnapshotMoveData: o.BackupOptions.SnapshotMoveData.Value,
|
||||
BackupType: api.BackupType(o.BackupOptions.BackupType),
|
||||
},
|
||||
Schedule: o.Schedule,
|
||||
UseOwnerReferencesInBackup: &o.UseOwnerReferencesInBackup,
|
||||
|
||||
Reference in New Issue
Block a user