From 9bef81eef67962b8769d34119afab462d8abdf3f Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Tue, 16 Feb 2021 23:37:27 +0200 Subject: [PATCH] fix(stack): show correct error message (#4853) --- api/http/handler/stacks/stack_start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/handler/stacks/stack_start.go b/api/http/handler/stacks/stack_start.go index 4c129eed1..022aa2b38 100644 --- a/api/http/handler/stacks/stack_start.go +++ b/api/http/handler/stacks/stack_start.go @@ -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