Sherpa is a highly available, fast, and flexible horizontal job scaling for HashiCorp Nomad. It is capable of running in a number of different modes to suit different requirements, and can scale based on Nomad resource metrics or external sources.
Mozilla Public License 2.0
163
stars
8
forks
source link
Fix incorrect response code and msg when scaling breaks thresholds #62
Previously errors when triggering a scaling action such as the
new count breaking policy thesholds would result in a 304 response
code and an empty message. This changes fixes the behaviour so
that the client will recieve a 409 response code with a useful
message to indicate the reason for not performing the action.
Previously errors when triggering a scaling action such as the new count breaking policy thesholds would result in a 304 response code and an empty message. This changes fixes the behaviour so that the client will recieve a 409 response code with a useful message to indicate the reason for not performing the action.
Closes #59