mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
- as reported on Slack and in issue #931 the gateway scaling code was scaling to zero replicas as a result of the "proportional scaling" added by @Templum's PR. This commit added a failing test which was fixed by adding boundary checking - now if the scaling amount is "0" we keep the current amount of replicas. Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>