Robert Schweikert has proposed merging ~rjschwei/cloud-init:hostsEmsg into
cloud-init:master.
Requested reviews:
cloud-init commiters (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/333408
Update the error message for template file name lookup to separate directory
location from template filename.
--
Your team cloud-init commiters is requested to review the proposed merge of
~rjschwei/cloud-init:hostsEmsg into cloud-init:master.
diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py
index d8a9fc8..4e0ccec 100644
--- a/cloudinit/cloud.py
+++ b/cloudinit/cloud.py
@@ -57,7 +57,7 @@ class Cloud(object):
fn = self.paths.template_tpl % (name)
if not os.path.isfile(fn):
LOG.warning("No template found at %s for template named %s",
- fn, name)
+ os.path.dirname(fn), name)
return None
return fn
_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help : https://help.launchpad.net/ListHelp