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 <jonas.riedel@ionos.com>
  • Loading branch information
jriedel-ionos committed Oct 10, 2024
1 parent 35359b9 commit 74d8d44
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 74d8d44

Please sign in to comment.