mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 23:50:31 +00:00
test
This commit is contained in:
parent
60ca4c0171
commit
b23fb949bf
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ from api.utils import shell_execute, docker, const
|
|||
from api.model.app import App
|
||||
from api.model.response import Response
|
||||
from api.utils import lock
|
||||
from api.utils.common_log import myLogge
|
||||
|
||||
|
||||
# 获取所有app的信息
|
||||
|
@ -243,7 +244,7 @@ def if_app_exits(app_name):
|
|||
output = shell_execute.execute_command_output_all(cmd)
|
||||
if int(output["code"]) == -1:
|
||||
info = output["result"]
|
||||
print(info)
|
||||
myLogger.info_logger("APP info: " + info)
|
||||
return info, False
|
||||
else:
|
||||
return info, True
|
||||
|
|
Loading…
Reference in a new issue