From 72117693fbc3f633257e3d4b75229275b44aa897 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Mon, 19 Jul 2021 10:41:50 +0300 Subject: [PATCH] feat(stacks): update stopped stack (#5215) [EE-554] --- api/http/handler/stacks/stack_update.go | 1 + app/portainer/views/stacks/edit/stack.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/http/handler/stacks/stack_update.go b/api/http/handler/stacks/stack_update.go index 34c64129c..2d5876ff9 100644 --- a/api/http/handler/stacks/stack_update.go +++ b/api/http/handler/stacks/stack_update.go @@ -160,6 +160,7 @@ func (handler *Handler) updateComposeStack(r *http.Request, stack *portainer.Sta stack.UpdateDate = time.Now().Unix() stack.UpdatedBy = config.user.Username + stack.Status = portainer.StackStatusActive err = handler.deployComposeStack(config) if err != nil { diff --git a/app/portainer/views/stacks/edit/stack.html b/app/portainer/views/stacks/edit/stack.html index aae58de07..0dc48a812 100644 --- a/app/portainer/views/stacks/edit/stack.html +++ b/app/portainer/views/stacks/edit/stack.html @@ -185,7 +185,7 @@