1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 23:29:16 +00:00

Don't use internal schema

This commit is contained in:
Darren Shepherd
2017-11-13 15:18:44 -07:00
parent 7444e056f7
commit c87d1846e2

View File

@@ -138,10 +138,6 @@ func generateController(outputDir string, schema *types.Schema, schemas *types.S
return err
}
if schema.InternalSchema != nil {
schema = schema.InternalSchema
}
return typeTemplate.Execute(output, map[string]interface{}{
"schema": schema,
"structFields": getTypeMap(schema, schemas),