fix(docker-compose): add logic control for docker compose force recreate EE-2356

This commit is contained in:
Hui
2022-01-17 10:20:45 +13:00
committed by GitHub
parent c47e840b37
commit 59ec22f706
13 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func (handler *Handler) migrateComposeStack(r *http.Request, stack *portainer.St
return configErr
}
err := handler.deployComposeStack(config)
err := handler.deployComposeStack(config, false)
if err != nil {
return &httperror.HandlerError{StatusCode: http.StatusInternalServerError, Message: err.Error(), Err: err}
}