Skip to content

Commit

Permalink
Merge pull request #111113 from mimowo/retriable-pod-failures-job-con…
Browse files Browse the repository at this point in the history
…troller

Support handling of pod failures with respect to the configured rules

Kubernetes-commit: eefcf6aa801c5db48b564d0464470d623b8bfb79
  • Loading branch information
k8s-publishing-bot committed Aug 5, 2022
2 parents 74deb3d + dbffa07 commit 117bd9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/util/validation/field/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ func (v *Error) Error() string {
return fmt.Sprintf("%s: %s", v.Field, v.ErrorBody())
}

type omitValueType struct{}
type OmitValueType struct{}

var omitValue = omitValueType{}
var omitValue = OmitValueType{}

// ErrorBody returns the error message without the field name. This is useful
// for building nice-looking higher-level error reporting.
Expand Down

0 comments on commit 117bd9b

Please sign in to comment.