Skip to content

Commit

Permalink
vPoller Zabbix Helper: Dump any result to JSON before returning to cl…
Browse files Browse the repository at this point in the history
…ient
  • Loading branch information
dnaeon committed Sep 12, 2014
1 parent f9ae086 commit 1894b2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vpoller/helpers/zabbix.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"""

import json
import logging


Expand Down Expand Up @@ -121,7 +122,7 @@ def run(self):
result
)

return result
return json.dumps(result, ensure_ascii=False)

def zabbix_item_value(self):
"""
Expand Down

0 comments on commit 1894b2d

Please sign in to comment.