|
@@ -14,7 +14,7 @@ def get_process_perc(app_name):
|
|
app_version = read_env(path, "APP_VERSION")
|
|
app_version = read_env(path, "APP_VERSION")
|
|
client = docker.from_env()
|
|
client = docker.from_env()
|
|
image_name = app_name + ":" + app_version
|
|
image_name = app_name + ":" + app_version
|
|
- resp = client.api.pull(image_name:, stream=True, decode=True)
|
|
|
|
|
|
+ resp = client.api.pull(image_name, stream=True, decode=True)
|
|
print(resp)
|
|
print(resp)
|
|
#for line in resp:
|
|
#for line in resp:
|
|
# print(json.dumps(line, indent=4))
|
|
# print(json.dumps(line, indent=4))
|