1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 05:49:40 +02:00

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

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2023-11-29 11:44:33 +13:00 committed by GitHub
parent c40931b31c
commit bdcb003a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}