summaryrefslogtreecommitdiff
path: root/cloudinit/sources/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-08-02 17:51:40 -0400
committerScott Moser <smoser@ubuntu.com>2015-08-02 17:51:40 -0400
commit89c564a6fd5ac89869f83541370557e3fa58495c (patch)
tree522d4bafe13317cbec2767d91f553381b67fd573 /cloudinit/sources/__init__.py
parent89c5936c7c1fb6d172cd0eee9c5f9aa2cd5e2053 (diff)
downloadvyos-cloud-init-89c564a6fd5ac89869f83541370557e3fa58495c.tar.gz
vyos-cloud-init-89c564a6fd5ac89869f83541370557e3fa58495c.zip
fix tests from sync
change ReportStack to ReportEventStack change default ReportEventStack to be status.SUCCESS instead of None
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r--cloudinit/sources/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 3b48f173..d07cf1fa 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -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.ReportStack(
+ myrep = reporting.ReportEventStack(
name="search-%s-%s" % (mode, name.replace("DataSource", "")),
description="searching for %s data from %s" % (mode, name),
message = "no %s data found from %s" % (mode, name),