summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceEc2.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-09-10 15:37:35 -0400
committerScott Moser <smoser@ubuntu.com>2010-09-10 15:37:35 -0400
commit35cf9fb43c5673b57f297a25df96dc586695351f (patch)
tree75aeb466cc76cc4eb428cf7e1becdc43d81a14bc /cloudinit/DataSourceEc2.py
parentb7102641ffe6baf6a14d36116706a117f7770208 (diff)
downloadvyos-cloud-init-35cf9fb43c5673b57f297a25df96dc586695351f.tar.gz
vyos-cloud-init-35cf9fb43c5673b57f297a25df96dc586695351f.zip
improve warning message in DataSourceEc2
Diffstat (limited to 'cloudinit/DataSourceEc2.py')
-rw-r--r--cloudinit/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index 30bbb9fc..3eacf99a 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -139,7 +139,7 @@ class DataSourceEc2(DataSource.DataSource):
if entname == "ephemeral" and name == "ephemeral0":
found = device
if found == None:
- cloudinit.log.warn("returning None")
+ cloudinit.log.warn("unable to convert %s to a device" % name)
return None
# LP: #611137