mirror of https://github.com/portainer/portainer
fix(app): dont validate stack name [EE-6379] (#10701)
Co-authored-by: testa113 <testa113>pull/10704/head
parent
c40931b31c
commit
bdcb003a32
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue