mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #2848 from phanimarupaka/UpdateArraySetterComments
Update setter comments correctly on updates
This commit is contained in:
@@ -139,6 +139,13 @@ type ResourceIdentifier struct {
|
||||
Kind string `yaml:"kind,omitempty"`
|
||||
}
|
||||
|
||||
// Comments struct is comment yaml comment types
|
||||
type Comments struct {
|
||||
LineComment string `yaml:"lineComment,omitempty"`
|
||||
HeadComment string `yaml:"headComment,omitempty"`
|
||||
FootComment string `yaml:"footComment,omitempty"`
|
||||
}
|
||||
|
||||
func (r *ResourceIdentifier) GetName() string {
|
||||
return r.Name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user