Skip to content

Commit

Permalink
Change UpdateBuildStatus filter to allow for updates while pending/qu…
Browse files Browse the repository at this point in the history
…eued --ECL (#78)
  • Loading branch information
Enkidu93 authored Aug 22, 2023
1 parent 74305c3 commit 27a1d41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ await _pretranslations.DeleteAllAsync(
public override async Task<Empty> UpdateBuildStatus(UpdateBuildStatusRequest request, ServerCallContext context)
{
await _builds.UpdateAsync(
b => b.Id == request.BuildId && b.State == JobState.Active,
b => b.Id == request.BuildId && (b.State == JobState.Active || b.State == JobState.Pending),
u =>
{
u.Set(b => b.Step, request.Step);
Expand Down

0 comments on commit 27a1d41

Please sign in to comment.