Skip to content

Commit

Permalink
remove extra / in API name. Fix #7004 (#7005)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jan 24, 2022
1 parent 1ea5882 commit fed4106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/TaskWorker/Actions/TaskAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def uploadWarning(self, warning, userProxy, taskname):
'workflow': taskname,
'warning': b64encode(encodeUnicodeToBytes(truncWarning))}
try:
self.crabserver.post(api='/task', data=urlencode(configreq))
self.crabserver.post(api='task', data=urlencode(configreq))
except HTTPException as hte:
self.logger.error("Error uploading warning: %s", str(hte))
self.logger.warning("Cannot add a warning to REST interface. Warning message: %s", warning)
Expand Down

0 comments on commit fed4106

Please sign in to comment.