mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 04:55:22 +00:00
fix broken build (#3525)
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user