mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-27 10:24:57 +00:00
BIA/RIAv2 -- distinguish between New and InProgress operations
Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
@@ -2478,7 +2478,7 @@ func TestBackupWithAsyncOperations(t *testing.T) {
|
||||
OperationID: "pod-1-1",
|
||||
},
|
||||
Status: itemoperation.OperationStatus{
|
||||
Phase: "InProgress",
|
||||
Phase: "New",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -2507,7 +2507,7 @@ func TestBackupWithAsyncOperations(t *testing.T) {
|
||||
OperationID: "pod-2-1",
|
||||
},
|
||||
Status: itemoperation.OperationStatus{
|
||||
Phase: "InProgress",
|
||||
Phase: "New",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -367,7 +367,7 @@ func (ib *itemBackupper) executeActions(
|
||||
OperationID: operationID,
|
||||
},
|
||||
Status: itemoperation.OperationStatus{
|
||||
Phase: itemoperation.OperationPhaseInProgress,
|
||||
Phase: itemoperation.OperationPhaseNew,
|
||||
Created: &now,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user