From 5778752d2ca66f1a86ee9551b5f6e5dafc7e25dc Mon Sep 17 00:00:00 2001 From: Ashish Amarnath Date: Thu, 4 Mar 2021 14:30:44 -0800 Subject: [PATCH] fix broken build (#3525) Signed-off-by: Ashish Amarnath --- pkg/cmd/util/output/restore_describer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/util/output/restore_describer.go b/pkg/cmd/util/output/restore_describer.go index 3c01cc5ae..fac53f5cc 100644 --- a/pkg/cmd/util/output/restore_describer.go +++ b/pkg/cmd/util/output/restore_describer.go @@ -59,7 +59,7 @@ func DescribeRestore(ctx context.Context, kbClient kbclient.Client, restore *vel d.Printf("Phase:\t%s%s\n", phaseString, resultsNote) if restore.Status.Progress != nil { - if restore.Status.Phase == v1.RestorePhaseInProgress { + if restore.Status.Phase == velerov1api.RestorePhaseInProgress { d.Printf("Estimated total items to be restored:\t%d\n", restore.Status.Progress.TotalItems) d.Printf("Items restored so far:\t%d\n", restore.Status.Progress.ItemsRestored) } else {