mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Add id tot he beacon event dataset
This commit is contained in:
parent
9b9861076d
commit
eaff795bdd
@ -36,5 +36,7 @@ class Beacon(object):
|
||||
for data in raw:
|
||||
if 'tag' in data:
|
||||
tag += data.pop('tag')
|
||||
if not 'id' in data:
|
||||
data['id'] = self.opts['id']
|
||||
ret.append({'tag': tag, 'data': data})
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user