From 918f3bc41713c8817f66a20f53e7ea712be91875 Mon Sep 17 00:00:00 2001 From: TooY <330282372@qq.com> Date: Mon, 20 Mar 2023 10:45:35 +0800 Subject: [PATCH] update manage.py --- appmanage/api/service/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index cee82640..d6e1fbd0 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -230,7 +230,7 @@ def install_app(app_name, customer_app_name, app_version): docker.modify_env(path, "APP_VERSION", app_version) file_path = "/data/apps/running_apps.txt" with open(file_path, "w", encoding="utf-8") as f: - f.write(app_name) + f.write(customer_app_name) t1 = Thread(target=record_and_install_app, args=(customer_app_name,)) t1.start() ret = Response(code=const.RETURN_SUCCESS, message="应用正在启动中,请过几分钟再查询")