mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(stack): show correct error message (#4853)
This commit is contained in:
parent
aa25eac951
commit
9bef81eef6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func (handler *Handler) stackStart(w http.ResponseWriter, r *http.Request) *http
|
||||||
|
|
||||||
err = handler.startStack(stack, endpoint)
|
err = handler.startStack(stack, endpoint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &httperror.HandlerError{http.StatusInternalServerError, "Unable to stop stack", err}
|
return &httperror.HandlerError{http.StatusInternalServerError, "Unable to start stack", err}
|
||||||
}
|
}
|
||||||
|
|
||||||
stack.Status = portainer.StackStatusActive
|
stack.Status = portainer.StackStatusActive
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue