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:54:03 -04:00
parent 29b5894be6
commit 433d2d5e57
9 changed files with 40 additions and 19 deletions

View File

@@ -86,7 +86,11 @@ func (in *OperationStatus) DeepCopyInto(out *OperationStatus) {
}
const (
// OperationPhaseNew means the item operation has been created and started
// OperationPhaseNew means the item operation has been created but not started
// by the plugin
OperationPhaseNew OperationPhase = "New"
// OperationPhaseInProgress means the item operation has been created and started
// by the plugin
OperationPhaseInProgress OperationPhase = "InProgress"