summaryrefslogtreecommitdiff
path: root/cloudinit/sources
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/sources
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/sources')
-rw-r--r--cloudinit/sources/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 838cd198..d3cfa560 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -27,12 +27,12 @@ import six
from cloudinit import importer
from cloudinit import log as logging
-from cloudinit import reporting
from cloudinit import type_utils
from cloudinit import user_data as ud
from cloudinit import util
from cloudinit.filters import launch_index
+from cloudinit.reporting import events
DEP_FILESYSTEM = "FILESYSTEM"
DEP_NETWORK = "NETWORK"
@@ -254,7 +254,7 @@ def find_source(sys_cfg, distro, paths, ds_deps, cfg_list, pkg_list, reporter):
LOG.debug("Searching for %s data source in: %s", mode, ds_names)
for name, cls in zip(ds_names, ds_list):
- myrep = reporting.ReportEventStack(
+ myrep = events.ReportEventStack(
name="search-%s" % name.replace("DataSource", ""),
description="searching for %s data from %s" % (mode, name),
message="no %s data found from %s" % (mode, name),