fix broken build (#3525)

Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
Ashish Amarnath
2021-03-04 14:30:44 -08:00
committed by GitHub
parent b9a8c0b254
commit 5778752d2c

View File

@@ -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 {