From bdcb003a32f2eb71b162561ac1a58ebc8550a96b Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Wed, 29 Nov 2023 11:44:33 +1300 Subject: [PATCH] fix(app): dont validate stack name [EE-6379] (#10701) Co-authored-by: testa113 --- api/http/handler/stacks/update_kubernetes_stack.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/http/handler/stacks/update_kubernetes_stack.go b/api/http/handler/stacks/update_kubernetes_stack.go index 5920144e0..1f60f1f9c 100644 --- a/api/http/handler/stacks/update_kubernetes_stack.go +++ b/api/http/handler/stacks/update_kubernetes_stack.go @@ -41,9 +41,6 @@ func (payload *kubernetesFileStackUpdatePayload) Validate(r *http.Request) error if govalidator.IsNull(payload.StackFileContent) { return errors.New("Invalid stack file content") } - if govalidator.IsNull(payload.StackName) { - return errors.New("Invalid stack name") - } return nil }