Skip to content

Commit

Permalink
fix: retry on label error (#2644)
Browse files Browse the repository at this point in the history
Add system errors to list of permanent errors which fixes infinite
retries when a build is attempted with an invalid label.
  • Loading branch information
stevenh committed Jul 16, 2024
1 parent 70856f4 commit d16750b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1653,6 +1653,7 @@ var permanentClientErrors = []func(error) bool{
errdefs.IsUnauthorized,
errdefs.IsForbidden,
errdefs.IsNotImplemented,
errdefs.IsSystem,
}

func isPermanentClientError(err error) bool {
Expand Down

0 comments on commit d16750b

Please sign in to comment.