From 262cbb9405f911547c0e7562d91f94cfc8dd686e Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:04:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=88=A0=E9=99=A4=20o?= =?UTF-8?q?penresty=20=E4=B9=8B=E5=90=8E=E6=B2=A1=E6=9C=89=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E5=88=A0=E9=99=A4=20php=20=E8=BF=90=E8=A1=8C=E5=AE=B9?= =?UTF-8?q?=E5=99=A8=E7=9A=84=E9=97=AE=E9=A2=98=20(#3984)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/app_utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/service/app_utils.go b/backend/app/service/app_utils.go index f53448acb..797804241 100644 --- a/backend/app/service/app_utils.go +++ b/backend/app/service/app_utils.go @@ -354,8 +354,8 @@ func deleteAppInstall(install model.AppInstall, deleteBackup bool, forceDelete b websiteApp, _ := appRepo.GetFirst(commonRepo.WithByID(websiteAppInstall.AppId)) if websiteApp.Type == constant.RuntimePHP { go func() { - _, _ = compose.Down(install.GetComposePath()) - _ = op.DeleteDir(install.GetPath()) + _, _ = compose.Down(websiteAppInstall.GetComposePath()) + _ = op.DeleteDir(websiteAppInstall.GetPath()) }() _ = appInstallRepo.Delete(ctx, websiteAppInstall) }