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

Commit

Permalink
autoscale: pass group name to calculateExternalScalingDecision
Browse files Browse the repository at this point in the history
  • Loading branch information
hobochili committed Jan 9, 2020
1 parent b9eec39 commit e2f145d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/autoscale/autoscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (ae *autoscaleEvaluation) evaluateJob() {
// If the group has external checks, perform these and ensure the decision if not nil,
// before adding this to the decision tree.
if p.ExternalChecks != nil {
if extDec := ae.calculateExternalScalingDecision(ae.jobID, p); extDec != nil {
if extDec := ae.calculateExternalScalingDecision(group, p); extDec != nil {
externalDecision[group] = extDec
}
}
Expand Down

0 comments on commit e2f145d

Please sign in to comment.