summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-08-02 18:06:50 -0400
committerScott Moser <smoser@ubuntu.com>2015-08-02 18:06:50 -0400
commite29c07adc1aa9d042ae790d1cb900a6a51a85952 (patch)
tree671595261b1adacc14007404e895c0488dc32b30
parent89c564a6fd5ac89869f83541370557e3fa58495c (diff)
downloadvyos-cloud-init-e29c07adc1aa9d042ae790d1cb900a6a51a85952.tar.gz
vyos-cloud-init-e29c07adc1aa9d042ae790d1cb900a6a51a85952.zip
event name doesnt need mode as it is run through init-local or init-net
-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 d07cf1fa..cf50c1fb 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -255,7 +255,7 @@ def find_source(sys_cfg, distro, paths, ds_deps, cfg_list, pkg_list, reporter):
for name, cls in zip(ds_names, ds_list):
myrep = reporting.ReportEventStack(
- name="search-%s-%s" % (mode, name.replace("DataSource", "")),
+ name="search-%s" % name.replace("DataSource", ""),
description="searching for %s data from %s" % (mode, name),
message = "no %s data found from %s" % (mode, name),
parent=reporter)