Commit 0feb1e29 authored by 赵凯's avatar 赵凯 💬

fix

parent c047431e
...@@ -78,9 +78,10 @@ def tasksPatch(taskid): ...@@ -78,9 +78,10 @@ def tasksPatch(taskid):
'cookie': cookie 'cookie': cookie
} }
response = requests.request("PATCH", url, headers=headers, data=payload) response = requests.request("PATCH", url, headers=headers, data=payload)
print("任务开始执行...") # rst = json.loads(response.text)
if response['code'] == -1: # print("任务开始执行...")
print(response['msg']) # if rst['code'] == -1:
# print("任务执行异常:" + rst['msg'])
# 集群部署任务 # 集群部署任务
......
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