Skip to content

Commit

Permalink
issue fix 6662
Browse files Browse the repository at this point in the history
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
  • Loading branch information
Lyndon-Li committed Aug 17, 2023
1 parent 30e54b0 commit 840cebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/util/output/backup_describer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
1 change: 1 addition & 0 deletions pkg/cmd/util/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 840cebb

Please sign in to comment.