Skip to content

Commit

Permalink
fix: update sample for task name (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
averikitsch authored Jun 21, 2021
1 parent 5c3de0c commit eebebcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def create_http_task(

if task_name is not None:
# Add the name to tasks.
task["name"] = task_name
task["name"] = client.task_path(project, location, queue, task_name)

# Use the client to build and send the task.
response = client.create_task(request={"parent": parent, "task": task})
Expand Down

0 comments on commit eebebcd

Please sign in to comment.