We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3dda9 commit e210c7eCopy full SHA for e210c7e
1 file changed
alertaclient/commands/cmd_send.py
@@ -88,7 +88,7 @@ def send_alert(resource, event, **kwargs):
88
value=value,
89
text=text,
90
tags=tags,
91
- attributes=dict(a.split('=', maxsplit=1) for a in attributes),
+ attributes=dict(a.split('=', maxsplit=1) if '=' in a else (a, None) for a in attributes),
92
origin=origin,
93
type=type,
94
timeout=timeout,
0 commit comments