1
0
mirror of https://github.com/rancher/types.git synced 2025-09-13 13:33:06 +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 (n *NamespaceIDMapper) FromInternal(data map[string]interface{}) {
}
}
func (n *NamespaceIDMapper) ToInternal(data map[string]interface{}) {
func (n *NamespaceIDMapper) ToInternal(data map[string]interface{}) error {
if n.Move != nil {
n.Move.ToInternal(data)
return n.Move.ToInternal(data)
}
return nil
}
func (n *NamespaceIDMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error {