fix(app): dont validate stack name [EE-6379] (#10701)

Co-authored-by: testa113 <testa113>
pull/10704/head
Ali 1 year ago committed by GitHub
parent c40931b31c
commit bdcb003a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,9 +41,6 @@ func (payload *kubernetesFileStackUpdatePayload) Validate(r *http.Request) error
if govalidator.IsNull(payload.StackFileContent) { if govalidator.IsNull(payload.StackFileContent) {
return errors.New("Invalid stack file content") return errors.New("Invalid stack file content")
} }
if govalidator.IsNull(payload.StackName) {
return errors.New("Invalid stack name")
}
return nil return nil
} }

Loading…
Cancel
Save