mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-20 23:12:45 +00:00
@@ -0,0 +1 @@
|
||||
Fix default-backup-ttl not work
|
||||
@@ -41,8 +41,6 @@ import (
|
||||
"github.com/vmware-tanzu/velero/pkg/util/collections"
|
||||
)
|
||||
|
||||
const DefaultBackupTTL time.Duration = 30 * 24 * time.Hour
|
||||
|
||||
func NewCreateCommand(f client.Factory, use string) *cobra.Command {
|
||||
o := NewCreateOptions()
|
||||
|
||||
@@ -106,7 +104,6 @@ type CreateOptions struct {
|
||||
|
||||
func NewCreateOptions() *CreateOptions {
|
||||
return &CreateOptions{
|
||||
TTL: DefaultBackupTTL,
|
||||
IncludeNamespaces: flag.NewStringArray("*"),
|
||||
Labels: flag.NewMap(),
|
||||
SnapshotVolumes: flag.NewOptionalBool(nil),
|
||||
|
||||
Reference in New Issue
Block a user