Fixup go2idl references

Kubernetes-commit: edfbb9aa6424ef975d717177886ca9cbdabe34c6
This commit is contained in:
Dr. Stefan Schimanski 2017-07-18 10:53:00 +02:00 committed by Kubernetes Publisher
parent 69baf544e3
commit 7def9ae6ce
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ func (o *openAPI) buildDefinitionRecursively(name string) error {
// buildDefinitionForType build a definition for a given type and return a referable name to it's definition.
// This is the main function that keep track of definitions used in this spec and is depend on code generated
// by k8s.io/kubernetes/cmd/libs/go2idl/openapi-gen.
// by k8s.io/kube-gen/cmd/openapi-gen.
func (o *openAPI) buildDefinitionForType(sample interface{}) (string, error) {
t := reflect.TypeOf(sample)
if t.Kind() == reflect.Ptr {