Skip to content

Remove unnecessary label bucket loop - #8701

Merged
kzys merged 1 commit into
containerd:mainfrom
djdongjin:gc
Jun 20, 2023
Merged

kzys merged 1 commit into
containerd:mainfrom
djdongjin:gc

Conversation

@djdongjin

@djdongjin djdongjin commented Jun 17, 2023 •

Copy link
Copy Markdown
Member

Current implmentation iterates the label bucket to check if labels.LabelSharedNamespace exists and is true. I think we can get by key directly.

@k8s-ci-robot

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@djdongjin

Copy link
Copy Markdown
Member Author

/test all

Signed-off-by: Jin Dong <djdongjin95@gmail.com>
@djdongjin
djdongjin marked this pull request as ready for review June 17, 2023 19:45

@henry118 henry118 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread metadata/content.go Resolved

@Iceber Iceber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, with a little personal suggestion.

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.

6 participants