Update vendor files to point to kubernetes-1.12.0-beta.1
This commit is contained in:
8
vendor/k8s.io/apimachinery/pkg/util/diff/diff.go
generated
vendored
8
vendor/k8s.io/apimachinery/pkg/util/diff/diff.go
generated
vendored
@@ -108,6 +108,14 @@ func limit(aObj, bObj interface{}, max int) (string, string) {
|
||||
elidedASuffix := ""
|
||||
elidedBSuffix := ""
|
||||
a, b := fmt.Sprintf("%#v", aObj), fmt.Sprintf("%#v", bObj)
|
||||
|
||||
if aObj != nil && bObj != nil {
|
||||
if aType, bType := fmt.Sprintf("%T", aObj), fmt.Sprintf("%T", bObj); aType != bType {
|
||||
a = fmt.Sprintf("%s (%s)", a, aType)
|
||||
b = fmt.Sprintf("%s (%s)", b, bType)
|
||||
}
|
||||
}
|
||||
|
||||
for {
|
||||
switch {
|
||||
case len(a) > max && len(a) > 4 && len(b) > 4 && a[:4] == b[:4]:
|
||||
|
Reference in New Issue
Block a user