Skip to content

Commit

Permalink
RD-6317 Work with kwargless tasks (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
geokala authored Nov 8, 2022
1 parent 19b8b06 commit 13a286d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudify_agent/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def handle_task(self, full_task):

task = full_task['service_task']
task_name = task['task_name']
kwargs = task['kwargs']
kwargs = task.get('kwargs') or {}

logger.info(
'Received `{0}` service task with kwargs: {1}'.format(
Expand Down

0 comments on commit 13a286d

Please sign in to comment.