Skip to content

libct/configs: exclude Relabel from json [un]marshaling#5160

Merged
cyphar merged 1 commit intoopencontainers:mainfrom
kolyshkin:fixup-relabel
Mar 11, 2026
Merged

libct/configs: exclude Relabel from json [un]marshaling#5160
cyphar merged 1 commit intoopencontainers:mainfrom
kolyshkin:fixup-relabel

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

@kolyshkin kolyshkin commented Mar 10, 2026

When deprecating Relabel field, its json attributes were mistakenly removed, so now it is:

  • saved to JSON under "Relabel" (rather than "relabel");
  • won't be ignored if empty.

Let's fix it before it's too late.

Fixes: 8b2b5e9 ("libct: remove relabeling dead code") / PR #5152

When deprecating Relabel field, its json attributes were mistakenly
removed, so now it is:
 - saved to JSON under "Relabel" (rather than "relabel");
 - won't be ignored if empty.

Let's fix it before it's too late.

Fixes: 8b2b5e9 ("libct: remove relabeling dead code")

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@cyphar cyphar enabled auto-merge March 11, 2026 03:35
Copy link
Copy Markdown
Member

@rata rata left a comment

Choose a reason for hiding this comment

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

LGTM, great catch @cyphar !

@cyphar cyphar merged commit a462d6f into opencontainers:main Mar 11, 2026
42 checks passed
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.

3 participants