~oddbloke/cloud-init/lp1506187

« back to all changes in this revision

Viewing changes to cloudinit/reporting/handlers.py

  • Committer: Daniel Watkins
  • Date: 2015-10-20 09:36:04 UTC
  • mfrom: (1149.1.1 cloud-init)
  • Revision ID: daniel.watkins@canonical.com-20151020093604-4luumedfqkjj2r9a
AltCloud: Remove --quiet option from udevadm call

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vi: ts=4 expandtab
2
2
 
3
3
import abc
 
4
import json
4
5
import six
5
6
 
6
7
from ..registry import DictRegistry
77
78
            readurl = url_helper.readurl
78
79
        try:
79
80
            return readurl(
80
 
                self.endpoint, data=event.as_dict(),
 
81
                self.endpoint, data=json.dumps(event.as_dict()),
81
82
                timeout=self.timeout,
82
83
                retries=self.retries, ssl_details=self.ssl_details)
83
84
        except: