Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetha Appan committed Aug 1, 2018
1 parent d8b5ec2 commit 383a4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/spread.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func evenSpreadScoreBoost(pset *propertySet, option *structs.Node) float64 {
}

// calculate boost based on delta between the current and the minimum
deltaBoost := 1.0
var deltaBoost float64
if minCount == 0 {
deltaBoost = -1.0
} else {
Expand Down

0 comments on commit 383a4be

Please sign in to comment.