Update go mod and vendor in client dir to 0.28.0
This commit is contained in:
2
client/vendor/k8s.io/apimachinery/pkg/util/errors/errors.go
generated
vendored
2
client/vendor/k8s.io/apimachinery/pkg/util/errors/errors.go
generated
vendored
@@ -214,7 +214,7 @@ func CreateAggregateFromMessageCountMap(m MessageCountMap) Aggregate {
|
||||
return NewAggregate(result)
|
||||
}
|
||||
|
||||
// Reduce will return err or, if err is an Aggregate and only has one item,
|
||||
// Reduce will return err or nil, if err is an Aggregate and only has one item,
|
||||
// the first item in the aggregate.
|
||||
func Reduce(err error) error {
|
||||
if agg, ok := err.(Aggregate); ok && err != nil {
|
||||
|
Reference in New Issue
Block a user