summaryrefslogtreecommitdiff
path: root/cloudinit/cloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-08-31 13:33:30 -0400
committerScott Moser <smoser@ubuntu.com>2015-08-31 13:33:30 -0400
commit50bcb0f77d29a76a03946c6da13b15be25257402 (patch)
tree763b5f1998cf8c3bf4138bae0d102e8981e55748 /cloudinit/cloud.py
parent6010d3c8b903d7dae8b0ff11ec45c6f78ea50cc8 (diff)
downloadvyos-cloud-init-50bcb0f77d29a76a03946c6da13b15be25257402.tar.gz
vyos-cloud-init-50bcb0f77d29a76a03946c6da13b15be25257402.zip
split 'events' portion of reporting into separate file
this just separates events from other things that could conceivably be reported.
Diffstat (limited to 'cloudinit/cloud.py')
-rw-r--r--cloudinit/cloud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py
index edee3887..3e6be203 100644
--- a/cloudinit/cloud.py
+++ b/cloudinit/cloud.py
@@ -24,7 +24,7 @@ import copy
import os
from cloudinit import log as logging
-from cloudinit import reporting
+from cloudinit.reporting import events
LOG = logging.getLogger(__name__)
@@ -48,7 +48,7 @@ class Cloud(object):
self._cfg = cfg
self._runners = runners
if reporter is None:
- reporter = reporting.ReportEventStack(
+ reporter = events.ReportEventStack(
name="unnamed-cloud-reporter",
description="unnamed-cloud-reporter",
reporting_enabled=False)