1
0
mirror of https://github.com/rancher/types.git synced 2025-09-12 21:13:18 +00:00

Update ToInternal

This commit is contained in:
Darren Shepherd
2018-06-04 21:44:54 -07:00
parent 7c20e28b3c
commit 986f420630
19 changed files with 62 additions and 32 deletions

View File

@@ -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 {