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

fix sabakan integration to handle role that is not exist in sabakan #784

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

YZ775
Copy link
Contributor

@YZ775 YZ775 commented Dec 13, 2024

Before this PR, if roles that do not exist in sabakan is written in cke-template,chooseWorkerTmpl() always return such role bacause count of it is always zero.
In such a situation, increseWorker does not work.
In this PR, I change chooseWorkerTmpl() to skip that role if it has no sabakan machines.

Copy link
Contributor

@masa213f masa213f left a comment

Choose a reason for hiding this comment

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

LGTM

@YZ775 YZ775 merged commit f90500c into main Dec 17, 2024
7 checks passed
@YZ775 YZ775 deleted the fix-sabakan branch December 17, 2024 00:32
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.

2 participants