mirror of
https://github.com/rancher/norman.git
synced 2025-09-16 15:21:33 +00:00
Fix codegen bug
This commit is contained in:
@@ -178,7 +178,7 @@ func (s *Schemas) importType(version *APIVersion, t reflect.Type, overrides ...r
|
||||
schema.Mapper = mapper
|
||||
s.AddSchema(*schema)
|
||||
|
||||
return schema, s.Err()
|
||||
return s.Schema(&schema.Version, schema.ID), s.Err()
|
||||
}
|
||||
|
||||
func jsonName(f reflect.StructField) string {
|
||||
|
Reference in New Issue
Block a user