Update vendor for k8s 1.17.0

This commit is contained in:
Erik Wilson
2019-12-11 18:27:03 -07:00
parent 5679a8bd2f
commit 4e6ed0873f
2807 changed files with 169926 additions and 93687 deletions

View File

@@ -135,7 +135,7 @@ func getSingleImpl(node interface{}, decodedToken string, nameProvider *swag.Nam
kv := reflect.ValueOf(decodedToken)
mv := rValue.MapIndex(kv)
if mv.IsValid() && !swag.IsZero(mv) {
if mv.IsValid() {
return mv.Interface(), kind, nil
}
return nil, kind, fmt.Errorf("object has no key %q", decodedToken)