Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Fix issue when autoscaling job with mix of groups w/wo policies. #71

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

jrasell
Copy link
Owner

@jrasell jrasell commented Oct 11, 2019

Jobs which had 2 groups, one which had a scaling policy and one
which did not would panic when running through the autoscaler.
This was caused by an unsafe check to see if an allocation was
part of a group which had a scaling policy.

Closes #70

Jobs which had 2 groups, one which had a scaling policy and one
which did not would panic when running through the autoscaler.
This was caused by an unsafe check to see if an allocation was
part of a group which had a scaling policy.

Closes #70
@jrasell jrasell added kind/bug Issues relating to bugs area/autoscaling Issues related to internal autoscaling labels Oct 11, 2019
@jrasell jrasell self-assigned this Oct 11, 2019
@jrasell
Copy link
Owner Author

jrasell commented Oct 11, 2019

@numiralofe this should fix the problem you are seeing. I was able to reproduce it locally and therefore test the fix also. Apologies for this.

@jrasell jrasell merged commit 04108cb into master Oct 11, 2019
@jrasell jrasell deleted the gh-70 branch October 11, 2019 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/autoscaling Issues related to internal autoscaling kind/bug Issues relating to bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

job with multiple groups problem
1 participant