Skip to content

Commit bd69dc3

Browse files
committed
Fix claimWork call for taskcluster>39
1 parent a5f1128 commit bd69dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scriptworker/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,6 @@ async def claim_work(context):
746746
"tasks": 1,
747747
}
748748
try:
749-
return await context.queue.claimWork(context.config["provisioner_id"], context.config["worker_type"], payload)
749+
return await context.queue.claimWork(f"{context.config['provisioner_id']}/{context.config['worker_type']}", payload)
750750
except (taskcluster.exceptions.TaskclusterFailure, aiohttp.ClientError, asyncio.TimeoutError) as exc:
751751
log.warning("{} {}".format(exc.__class__, exc))

0 commit comments

Comments
 (0)