mirror of
https://github.com/rancher/types.git
synced 2025-09-01 21:32:10 +00:00
Fix namespace attribute on native types
This commit is contained in:
@@ -25,8 +25,8 @@ func (e InitContainerMapper) FromInternal(data map[string]interface{}) {
|
||||
}
|
||||
|
||||
func (e InitContainerMapper) ToInternal(data map[string]interface{}) {
|
||||
newContainers := []interface{}{}
|
||||
newInitContainers := []interface{}{}
|
||||
var newContainers []interface{}
|
||||
var newInitContainers []interface{}
|
||||
|
||||
for _, container := range convert.ToMapSlice(data["containers"]) {
|
||||
if convert.ToBool(container["initContainer"]) {
|
||||
|
Reference in New Issue
Block a user