Fix issue with deepcopy returning wrong type causing panic
Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>
This commit is contained in:
parent
3802b14260
commit
a4f941368b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue