Skip to content

Commit

Permalink
fix: Do not show ExceededResourceQuota as Failed, set Pending instead
Browse files Browse the repository at this point in the history
  • Loading branch information
keskad committed Nov 6, 2023
1 parent c2efb1d commit e5d3adc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/core/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ func translateTaskStatus(task v1.TaskRun) contract.Status {
return contract.PipelineSucceeded
case "Running":
return contract.PipelineRunning
case "ExceededResourceQuota":
return contract.PipelinePending
default:
return contract.PipelineFailed
}
Expand Down

0 comments on commit e5d3adc

Please sign in to comment.