mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 12:16:47 +00:00
This change validates manual input to the gateway UI when deploying new functions. This is to prevent poor user experience when attempting to deploy a function manually from the UI. The validation check on the function name is the same pattern that is used in the CLI to ensure that when the deploy button is pressed, the function will not fail validation. Signed-off-by: Burton Rheutan <rheutan7@gmail.com>