change CSISnapshotTimeout from point to normal var

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
This commit is contained in:
cleverhu
2022-09-07 00:34:26 +08:00
parent c7bd2b9c02
commit 067a3ec03a
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
change CSISnapshotTimeout from pointer to normal variables.

View File

@@ -165,7 +165,7 @@ func DescribeBackupSpec(d *Describer, spec velerov1api.BackupSpec) {
d.Printf("TTL:\t%s\n", spec.TTL.Duration)
d.Println()
d.Printf("CSISnapshotTimeout:\t%s\n", &spec.CSISnapshotTimeout.Duration)
d.Printf("CSISnapshotTimeout:\t%s\n", spec.CSISnapshotTimeout.Duration)
d.Println()
if len(spec.Hooks.Resources) == 0 {