Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Move MatchingLabels to association.go [2/N] #2733

Open
rueian opened this issue Jan 11, 2025 · 1 comment · May be fixed by #2734
Open

[Refactor] Move MatchingLabels to association.go [2/N] #2733

rueian opened this issue Jan 11, 2025 · 1 comment · May be fixed by #2734
Assignees

Comments

@rueian
Copy link
Contributor

rueian commented Jan 11, 2025

Following #2045

We like to move all client.MatchingLabels{utils.RayClusterLabelKey: instance.Name, utils.RayNodeTypeLabelKey: string(rayv1.HeadNode)} to the association.go, so that we can maintain consistency in the association methods by not scattering MatchingLabels everywhere.

Including:

filterLabels := client.MatchingLabels{utils.RayClusterLabelKey: instance.Name, utils.RayNodeTypeLabelKey: string(rayv1.HeadNode)}

filterLabels := client.MatchingLabels{utils.RayClusterLabelKey: instance.Name, utils.RayNodeTypeLabelKey: string(rayv1.RedisCleanupNode)}

filterLabels := client.MatchingLabels{

@owenowenisme
Copy link
Contributor

owenowenisme commented Jan 12, 2025

@rueian
Hi, I would like to help with this.

@owenowenisme owenowenisme linked a pull request Jan 13, 2025 that will close this issue
4 tasks
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 a pull request may close this issue.

2 participants