Merge pull request #5294 from cleverhu/change-CSISnapshotTimeout-to-normal-var

change CSISnapshotTimeout from pointer to normal variable
This commit is contained in:
Daniel Jiang
2022-10-19 15:31:47 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
change CSISnapshotTimeout from pointer to normal variables.
+1 -1
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 {