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

fix(stack): show correct error message (#4853)

This commit is contained in:
Chaim Lev-Ari 2021-02-16 23:37:27 +02:00 committed by GitHub
parent aa25eac951
commit 9bef81eef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ func (handler *Handler) stackStart(w http.ResponseWriter, r *http.Request) *http
err = handler.startStack(stack, endpoint)
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