Skip to content

review: stash delete-vm-names via the shared merge-patch helper - #26

Merged
CMGS merged 1 commit into
mainfrom
review/use-shared-merge-patch
Jul 26, 2026
Merged

review: stash delete-vm-names via the shared merge-patch helper#26
CMGS merged 1 commit into
mainfrom
review/use-shared-merge-patch

Conversation

@CMGS

@CMGS CMGS commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

What

  • Bump cocoon-common to 32dacef, which exports the generic merge-patch helper as k8s.Patch.
  • Replace stashDeleteVMNames' hand-rolled MergeFrom/mutate/Patch block with commonk8s.Patch, the same mechanism already backing PatchHibernateState/PatchCocoonSetGeneration.

No behavior change: same merge patch, same short-circuit on an unchanged annotation.

Verified

go test -race ./... (4/4 ok), make lint (linux + darwin, 0 issues), asl ./... (both GOOS).

@CMGS
CMGS merged commit 0e16e48 into main Jul 26, 2026
2 checks passed
@CMGS
CMGS deleted the review/use-shared-merge-patch branch July 26, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant