Skip to content

fix: fix kv equality check for empty values#539

Merged
talos-bot merged 1 commit intocosi-project:mainfrom
utkuozdemir:fix-kv-equality
Dec 19, 2024
Merged

fix: fix kv equality check for empty values#539
talos-bot merged 1 commit intocosi-project:mainfrom
utkuozdemir:fix-kv-equality

Conversation

@utkuozdemir
Copy link
Member

We did not distinguish between an entry with an empty value vs a non-existent key. This caused resource labels/annotations to not get updated in some cases.

Copy link
Member

@smira smira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

We did not distinguish between an entry with an empty value vs a non-existent key. This caused resource labels/annotations to not get updated in some cases.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
@utkuozdemir
Copy link
Member Author

/m

@talos-bot talos-bot merged commit eea1d62 into cosi-project:main Dec 19, 2024
@utkuozdemir utkuozdemir deleted the fix-kv-equality branch December 19, 2024 10:25
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.

4 participants