Merge pull request #6667 from Lyndon-Li/issue-fix-6662

Fix issue 6662
This commit is contained in:
Daniel Jiang
2023-08-17 16:57:46 +08:00
committed by GitHub
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ func DescribeBackupSpec(d *Describer, spec velerov1api.BackupSpec) {
d.Printf("Velero-Native Snapshot PVs:\t%s\n", BoolPointerString(spec.SnapshotVolumes, "false", "true", "auto"))
d.Printf("Snapshot Move Data:\t%s\n", BoolPointerString(spec.SnapshotMoveData, "false", "true", "auto"))
if len(spec.DataMover) == 0 {
s = emptyDisplay
s = defaultDataMover
} else {
s = spec.DataMover
}
+1 -1
View File
@@ -212,7 +212,7 @@ Storage Location: backup-location
Velero-Native Snapshot PVs: auto
Snapshot Move Data: auto
Data Mover: <none>
Data Mover: velero
TTL: 0s
+1
View File
@@ -37,6 +37,7 @@ import (
const (
downloadRequestTimeout = 30 * time.Second
emptyDisplay = "<none>"
defaultDataMover = "velero"
)
// BindFlags defines a set of output-specific flags within the provided
@@ -42,7 +42,7 @@ Backup Template:
Velero-Native Snapshot PVs: auto
Snapshot Move Data: auto
Data Mover: <none>
Data Mover: velero
TTL: 0s
@@ -86,7 +86,7 @@ Backup Template:
Velero-Native Snapshot PVs: auto
Snapshot Move Data: auto
Data Mover: <none>
Data Mover: velero
TTL: 0s