mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Currently, when the calls endpoints are disabled a 501 is returned. While this is technically correct, it's not hard to see this causing trouble when people tend to create 5xx roll up alerting metrics. This changes it to a 410, Gone, response, which is close enough and should allow clients to know what's going on.