Skip to content

Commit

Permalink
Do not consider blocked artifacts as failed.
Browse files Browse the repository at this point in the history
They're waiting on something else.
  • Loading branch information
mitchell-as committed Oct 8, 2024
1 parent 0d07973 commit a91c2c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/buildplan/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ func FilterSuccessfulArtifacts() FilterArtifact {

func FilterFailedArtifacts() FilterArtifact {
return func(a *Artifact) bool {
return a.Status == types.ArtifactBlocked ||
a.Status == types.ArtifactFailedTransiently ||
return a.Status == types.ArtifactFailedTransiently ||
a.Status == types.ArtifactFailedPermanently
}
}
Expand Down

0 comments on commit a91c2c8

Please sign in to comment.