SlideRuleEarth / sliderule-prov-sys

Provisioning System for Slide Rule clusters
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Clamp desired num nodes requested to the min/max values #101

Closed cugarteblair closed 1 year ago

cugarteblair commented 1 year ago

When sending a request that is outside the min/max window instead of sending back an error 400 accept all request with non negative values for desired_num_nodes. Then clamp the value used by the sort algorithm to either the min or the max

cugarteblair commented 1 year ago

This was included in v3.2.10