fix: 解决删除 openresty 之后没有同步删除 php 运行容器的问题 (#3984)

pull/3987/head
zhengkunwang 9 months ago committed by GitHub
parent 96233ee9b2
commit 262cbb9405
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)
}

Loading…
Cancel
Save