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