196
// Update is not completed but maybe it is accepted.
197
if u.accepted.Ready() || waitStage == enumspb.UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED {
198
>
// Using the same context which might be already expired, but if accepted future is ready,
update.go
199
>
// then it will return immediately without checking context deadline.
200
>
var rejection *failurepb.Failure
201
>
rejection, err = u.accepted.Get(stCtx)
202
>
if err == nil {
203
if rejection != nil {
204
return statusRejected(rejection), nil