Update k8s to v1.16.6

This commit is contained in:
Erik Wilson
2020-01-24 11:29:11 -07:00
parent 3658610082
commit 2381a01b77
323 changed files with 15465 additions and 2007 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)