Fix issue with deepcopy returning wrong type causing panic

Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>
This commit is contained in:
Guillaume J. Charmes 2018-03-14 19:34:23 -04:00
parent 3802b14260
commit a4f941368b
No known key found for this signature in database
GPG Key ID: AA04E63AF5CD9AAA
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ func (m *schemaMap) DeepCopy() schemaMap {
if err != nil {
panic(err)
}
return copy.(schemaMap)
return *copy.(*schemaMap)
}
// Diff returns the diff for a resource given the schema map,