fix: assignOp linter finding
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
c89deaeca7
commit
3fd09f6dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -1224,7 +1224,7 @@ func (r *basePoolManager) ensureIdleRunnersForOnePool(pool params.Pool) error {
|
|||
if uint(projectedInstanceCount) > pool.MaxRunners {
|
||||
// ensure we don't go above max workers
|
||||
delta := projectedInstanceCount - int(pool.MaxRunners)
|
||||
required = required - delta
|
||||
required -= delta
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue