Skip to content

Commit 6ca653c

Browse files
committed
fix unused var
1 parent 1fde5d2 commit 6ca653c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/analyze/velero.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,9 @@ func analyzeRestores(restores []*velerov1.Restore, count int) []*AnalyzeResult {
545545
velerov1.RestorePhaseFailedValidation: true,
546546
}
547547

548-
failureReasons := []string{
549-
"found a restore with status \"InProgress\" during the server starting, mark it as \"Failed\"",
550-
}
548+
// failureReasons := []string{
549+
// "found a restore with status \"InProgress\" during the server starting, mark it as \"Failed\"",
550+
// }
551551

552552
for _, restore := range restores {
553553
if failedPhases[restore.Status.Phase] {

0 commit comments

Comments
 (0)