mirror of https://github.com/portainer/portainer
parent
179df06267
commit
72117693fb
|
@ -160,6 +160,7 @@ func (handler *Handler) updateComposeStack(r *http.Request, stack *portainer.Sta
|
||||||
|
|
||||||
stack.UpdateDate = time.Now().Unix()
|
stack.UpdateDate = time.Now().Unix()
|
||||||
stack.UpdatedBy = config.user.Username
|
stack.UpdatedBy = config.user.Username
|
||||||
|
stack.Status = portainer.StackStatusActive
|
||||||
|
|
||||||
err = handler.deployComposeStack(config)
|
err = handler.deployComposeStack(config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -185,7 +185,7 @@
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-sm btn-primary"
|
class="btn btn-sm btn-primary"
|
||||||
ng-disabled="state.actionInProgress || !stackUpdateForm.$valid || stack.Status === 2 || !stackFileContent || orphaned"
|
ng-disabled="state.actionInProgress || !stackUpdateForm.$valid || !stackFileContent || orphaned"
|
||||||
ng-click="deployStack()"
|
ng-click="deployStack()"
|
||||||
button-spinner="state.actionInProgress"
|
button-spinner="state.actionInProgress"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue