mirror of
https://github.com/rancher/norman.git
synced 2025-09-17 15:49:53 +00:00
Don't use internal schema
This commit is contained in:
@@ -138,10 +138,6 @@ func generateController(outputDir string, schema *types.Schema, schemas *types.S
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if schema.InternalSchema != nil {
|
|
||||||
schema = schema.InternalSchema
|
|
||||||
}
|
|
||||||
|
|
||||||
return typeTemplate.Execute(output, map[string]interface{}{
|
return typeTemplate.Execute(output, map[string]interface{}{
|
||||||
"schema": schema,
|
"schema": schema,
|
||||||
"structFields": getTypeMap(schema, schemas),
|
"structFields": getTypeMap(schema, schemas),
|
||||||
|
Reference in New Issue
Block a user