Skip to content

Commit

Permalink
Remove obsolete upper bound check
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Riedel <[email protected]>
  • Loading branch information
jriedel-ionos authored and k8s-infra-cherrypick-robot committed Nov 15, 2024
1 parent a81f78a commit 3ea9aa6
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ func (n *nodePool) IncreaseSize(delta int) error {
return err
}
targetSize := size + delta
if targetSize > n.max {
return fmt.Errorf("size increase exceeds upper bound of %d", n.max)
}
return n.manager.SetNodeGroupSize(n, targetSize)
}

Expand Down

0 comments on commit 3ea9aa6

Please sign in to comment.