From fdb534c5e092698962dd0c3ed269ca24eb888d3f Mon Sep 17 00:00:00 2001 From: mountain Date: Wed, 5 Jun 2024 17:26:28 +0900 Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=9C=EC=84=B8=EC=8A=A4=20?= =?UTF-8?q?=EC=A0=95=EC=A7=80=EC=8B=9C=20=EB=A1=9C=EA=B7=B8=20=EC=9E=90?= =?UTF-8?q?=EB=8F=99=20=EC=97=85=EB=A1=9C=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/http_api.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/http_api.go b/server/http_api.go index e4cfe87..ac54682 100644 --- a/server/http_api.go +++ b/server/http_api.go @@ -405,6 +405,13 @@ func (h *houstonHandler) StopProcess(w http.ResponseWriter, r *http.Request) { Version: version, Pid: int32(pid), }, targets)) + + h.Operation().Upload(MakeUploadRequest(shared.UploadRequest{ + Name: name, + Version: version, + Url: "upload", + DeleteAfterUploaded: "true", + }, targets)) } func (h *houstonHandler) RestartProcess(w http.ResponseWriter, r *http.Request) {