mirror of
https://github.com/rancher/types.git
synced 2025-09-12 21:13:18 +00:00
Update ToInternal
This commit is contained in:
@@ -15,10 +15,11 @@ func (c *Creator) FromInternal(data map[string]interface{}) {
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Creator) ToInternal(data map[string]interface{}) {
|
||||
func (c *Creator) ToInternal(data map[string]interface{}) error {
|
||||
if c.m != nil {
|
||||
c.m.ToInternal(data)
|
||||
return c.m.ToInternal(data)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Creator) ModifySchema(schema *types.Schema, schemas *types.Schemas) error {
|
||||
|
Reference in New Issue
Block a user