From c9a3d631d005ae7579775ada4d0542e1107339a3 Mon Sep 17 00:00:00 2001 From: Robi Nino Date: Sun, 5 May 2024 17:01:08 +0300 Subject: [PATCH] Support Started Status for Release Bundle Creation --- lifecycle/services/status.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lifecycle/services/status.go b/lifecycle/services/status.go index a763da5c8..9aeed788e 100644 --- a/lifecycle/services/status.go +++ b/lifecycle/services/status.go @@ -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) { @@ -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