qiaofeng1227 2 anni fa
parent
commit
ca804d6696
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      appmanage/api/utils/docker.py

+ 1 - 1
appmanage/api/utils/docker.py

@@ -11,7 +11,7 @@ def get_process_perc(app_name):
     
     process_now = "0%"
     path = "/data/apps/" + app_name + "/.env"
-    app_version = read_env(path, "APP_VERSION")
+    app_version_env, app_version = read_env(path, "APP_VERSION")
     print(app_version)
     client = docker.from_env()
     image_name = app_name + ":" + app_version