mirror of https://github.com/knative/caching.git
upgrade to latest dependencies (#458)
bumping knative.dev/pkg 942c621...0c5259d: > 0c5259d Allow errors.As to work with reconciler.Events (# 2100) > 1afd049 Update knative/community files (# 2097) Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
c2674e6d84
commit
088b702d3c
2
go.mod
2
go.mod
|
@ -19,5 +19,5 @@ require (
|
|||
k8s.io/code-generator v0.19.7
|
||||
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6
|
||||
knative.dev/hack v0.0.0-20210325223819-b6ab329907d3
|
||||
knative.dev/pkg v0.0.0-20210419184201-942c621ec54d
|
||||
knative.dev/pkg v0.0.0-20210422210038-0c5259d6504d
|
||||
)
|
||||
|
|
4
go.sum
4
go.sum
|
@ -1220,8 +1220,8 @@ k8s.io/utils v0.0.0-20200729134348-d5654de09c73 h1:uJmqzgNWG7XyClnU/mLPBWwfKKF1K
|
|||
k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
knative.dev/hack v0.0.0-20210325223819-b6ab329907d3 h1:km0Rrh0T9/wA2pivQm1hqSPVwgNgGCHC2WNn3GakZmE=
|
||||
knative.dev/hack v0.0.0-20210325223819-b6ab329907d3/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
|
||||
knative.dev/pkg v0.0.0-20210419184201-942c621ec54d h1:Ww5Rrd+UyZnc3rGyHOJL4ArmzrNfi5PtSlP6mTbqXiQ=
|
||||
knative.dev/pkg v0.0.0-20210419184201-942c621ec54d/go.mod h1:UtcSLHy2XIz5blWoPTA40F87zk4O7erxkCwv+7Tsmws=
|
||||
knative.dev/pkg v0.0.0-20210422210038-0c5259d6504d h1:ilIOXb2KfleKeW/JXqcoQK/BKi3D4X8HVmrKYek32Go=
|
||||
knative.dev/pkg v0.0.0-20210422210038-0c5259d6504d/go.mod h1:UtcSLHy2XIz5blWoPTA40F87zk4O7erxkCwv+7Tsmws=
|
||||
pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU=
|
||||
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
||||
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||
|
|
|
@ -87,6 +87,12 @@ func (e *ReconcilerEvent) Is(target error) bool {
|
|||
return errors.Is(err, target)
|
||||
}
|
||||
|
||||
// As allows ReconcilerEvents to be treated as regular error types.
|
||||
func (e *ReconcilerEvent) As(target interface{}) bool {
|
||||
err := fmt.Errorf(e.Format, e.Args...)
|
||||
return errors.As(err, target)
|
||||
}
|
||||
|
||||
// Error returns the string that is formed by using the format string with the
|
||||
// provided args.
|
||||
func (e *ReconcilerEvent) Error() string {
|
||||
|
|
|
@ -665,7 +665,7 @@ k8s.io/utils/trace
|
|||
# knative.dev/hack v0.0.0-20210325223819-b6ab329907d3
|
||||
## explicit
|
||||
knative.dev/hack
|
||||
# knative.dev/pkg v0.0.0-20210419184201-942c621ec54d
|
||||
# knative.dev/pkg v0.0.0-20210422210038-0c5259d6504d
|
||||
## explicit
|
||||
knative.dev/pkg/apis
|
||||
knative.dev/pkg/apis/duck
|
||||
|
|
Loading…
Reference in New Issue