mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
added count for list setters
This commit is contained in:
@@ -88,6 +88,7 @@ func (a *Add) visitMapping(object *yaml.RNode, p string, _ *openapi.ResourceSche
|
||||
"encountered different array values for specified field path: %s, %s", values, a.ListValues)
|
||||
}
|
||||
a.ListValues = values
|
||||
a.Count++
|
||||
return a.addRef(node.Key)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user