add id and parent to the headers of TaskStateChange messages
This commit is contained in:
parent
91bae287e0
commit
3283df7f2c
1 changed files with 2 additions and 0 deletions
|
|
@ -168,6 +168,8 @@ def get_message_headers(msgtype, *args, **kws):
|
|||
headers['tag'] = kws['tag']['name']
|
||||
headers['package'] = kws['package']['name']
|
||||
elif msgtype == 'TaskStateChange':
|
||||
headers['id'] = kws['info']['id']
|
||||
headers['parent'] = kws['info']['parent']
|
||||
headers['method'] = kws['info']['method']
|
||||
headers['attribute'] = kws['attribute']
|
||||
headers['old'] = kws['old']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue