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

hive/jobs: fix enqueueing of multiple jobs via variadic func #25633

Merged

Conversation

mhofstetter
Copy link
Member

Currently, when registering multiple jobs to the hive job queue at once via the variadic function, only the first job gets enqueued.

This PR fixes this by adding all jobs to the queue of the job group.

This commit fixes a bug where only the first job gets enqueued if
multiple jobs are registered to a job group via variadic function.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added the release-note/misc This PR makes changes that have no direct user impact. label May 24, 2023
@mhofstetter mhofstetter requested a review from a team as a code owner May 24, 2023 04:10
@mhofstetter
Copy link
Member Author

/test

Copy link
Member

@dylandreimerink dylandreimerink 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, thx!

Copy link
Member

@meyskens meyskens left a comment

Choose a reason for hiding this comment

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

LGTM

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 25, 2023
@tklauser tklauser merged commit 19d9f4a into cilium:main May 25, 2023
59 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/hive-job-enqueue-fix branch May 25, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modularization ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants