Skip to content

Commit 6f5e718

Browse files
committed
fix
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
1 parent e60815b commit 6f5e718

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/objectpatch/patch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (p *Patch) SetName(name string) {
6666
if p.patchValues == nil {
6767
p.patchValues = make(map[string]any)
6868
}
69-
p.patchValues["name"] = p.GetName()
69+
p.patchValues["name"] = name
7070
}
7171

7272
// WithSubresource sets the subresource to patch (e.g., "status", "scale").

0 commit comments

Comments
 (0)