Update godeps
This commit is contained in:
parent
1c8773fc98
commit
1bc383f9c5
1723 changed files with 287976 additions and 411028 deletions
4
vendor/k8s.io/kubernetes/pkg/runtime/serializer/json/meta.go
generated
vendored
4
vendor/k8s.io/kubernetes/pkg/runtime/serializer/json/meta.go
generated
vendored
|
|
@ -47,8 +47,10 @@ type SimpleMetaFactory struct {
|
|||
// encoding of an object, or an error.
|
||||
func (SimpleMetaFactory) Interpret(data []byte) (*unversioned.GroupVersionKind, error) {
|
||||
findKind := struct {
|
||||
// +optional
|
||||
APIVersion string `json:"apiVersion,omitempty"`
|
||||
Kind string `json:"kind,omitempty"`
|
||||
// +optional
|
||||
Kind string `json:"kind,omitempty"`
|
||||
}{}
|
||||
if err := json.Unmarshal(data, &findKind); err != nil {
|
||||
return nil, fmt.Errorf("couldn't get version/kind; json parse error: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue