mirror of
https://github.com/niusmallnan/steve.git
synced 2025-09-08 00:19:10 +00:00
Actually send event data
This commit is contained in:
6
vendor/github.com/rancher/norman/pkg/types/mapper.go
generated
vendored
6
vendor/github.com/rancher/norman/pkg/types/mapper.go
generated
vendored
@@ -90,6 +90,12 @@ func (t *typeMapper) FromInternal(data map[string]interface{}) {
|
||||
}
|
||||
}
|
||||
|
||||
if t.root {
|
||||
if _, ok := data["type"]; ok {
|
||||
data["type"] = t.typeName
|
||||
}
|
||||
}
|
||||
|
||||
Mappers(t.Mappers).FromInternal(data)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user