summaryrefslogtreecommitdiff
path: root/cloudinit/cloud.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/cloud.py')
-rw-r--r--cloudinit/cloud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py
index d8a9fc86..ba616781 100644
--- a/cloudinit/cloud.py
+++ b/cloudinit/cloud.py
@@ -56,8 +56,8 @@ class Cloud(object):
def get_template_filename(self, name):
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)
+ LOG.warning("No template found in %s for template named %s",
+ os.path.dirname(fn), name)
return None
return fn