mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
add unit test and address comments
This commit is contained in:
@@ -61,8 +61,8 @@ func (r *Resource) Behavior() GenerationBehavior {
|
||||
return r.b
|
||||
}
|
||||
|
||||
// ChangeBehavior changes the resource to the new behavior
|
||||
func (r *Resource) ChangeBehavior(b GenerationBehavior) {
|
||||
// SetBehavior changes the resource to the new behavior
|
||||
func (r *Resource) SetBehavior(b GenerationBehavior) {
|
||||
r.b = b
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user