Commit 05f33d4f authored by 金凯强's avatar 金凯强 🎨

日志获取的容器名改下

parent 83042640
Pipeline #22240 failed with stage
in 11 seconds
......@@ -221,7 +221,7 @@ where A.log_id={log_id}'''
since_time = None
tail = '200'
logs = docker_client.logs('install_api', tail=tail, since=since_time)
logs = docker_client.logs('test', tail=tail, since=since_time) # todo 测试用的,以后改为install_api
if isinstance(logs, bytes):
logs = logs.decode()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment