From e29c07adc1aa9d042ae790d1cb900a6a51a85952 Mon Sep 17 00:00:00 2001
From: Scott Moser <smoser@ubuntu.com>
Date: Sun, 2 Aug 2015 18:06:50 -0400
Subject: event name doesnt need mode as it is run through init-local or
 init-net

---
 cloudinit/sources/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cloudinit')

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)
-- 
cgit v1.2.3