Skip to content

Commit

Permalink
Support Started Status for Release Bundle Creation
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNino committed May 5, 2024
1 parent 7974b79 commit c9a3d63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lifecycle/services/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const (
Failed RbStatus = "FAILED"
Rejected RbStatus = "REJECTED"
Deleting RbStatus = "DELETING"
Started RbStatus = "STARTED"
)

func (rbs *ReleaseBundlesService) GetReleaseBundleCreationStatus(rbDetails ReleaseBundleDetails, projectKey string, sync bool) (ReleaseBundleStatusResponse, error) {
Expand Down Expand Up @@ -128,7 +129,7 @@ func (rbs *ReleaseBundlesService) waitForRbOperationCompletion(restApi, projectK
return true, nil, err
}
switch rbStatusResponse.Status {
case Pending, Processing:
case Pending, Processing, Started:
return false, nil, nil
case Completed, Rejected, Failed, Deleting:
return true, responseBody, nil
Expand Down

0 comments on commit c9a3d63

Please sign in to comment.