Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
opms-command
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
赵凯
opms-command
Commits
b4997121
Commit
b4997121
authored
Mar 27, 2024
by
赵凯
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
执行异常时,抛出异常
parent
b2b5577d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
task_patch_api.py
apis/task_patch_api.py
+2
-1
No files found.
apis/task_patch_api.py
View file @
b4997121
...
...
@@ -79,7 +79,8 @@ def tasksPatch(taskid):
}
response
=
requests
.
request
(
"PATCH"
,
url
,
headers
=
headers
,
data
=
payload
)
print
(
"任务开始执行..."
)
if
response
[
'code'
]
==
-
1
:
print
(
response
[
'msg'
])
# 集群部署任务
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment