BIA/RIAv2 -- distinguish between New and InProgress operations

Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
Scott Seago
2023-03-21 18:55:59 -04:00
parent 29b5894be6
commit 433d2d5e57
9 changed files with 40 additions and 19 deletions
+2 -2
View File
@@ -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",
},
},
},
+1 -1
View File
@@ -367,7 +367,7 @@ func (ib *itemBackupper) executeActions(
OperationID: operationID,
},
Status: itemoperation.OperationStatus{
Phase: itemoperation.OperationPhaseInProgress,
Phase: itemoperation.OperationPhaseNew,
Created: &now,
},
}