summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceEc2.py
diff options
context:
space:
mode:
authorkeyz182 <keyz182@gmail.com>2011-05-26 16:07:15 +0100
committerkeyz182 <keyz182@gmail.com>2011-05-26 16:07:15 +0100
commitdeb6d2356e3989d09029264c74b7d65c8f4414a3 (patch)
treef58e3c9b258ee0c5079677244f0a7e6d19d35226 /cloudinit/DataSourceEc2.py
parent7a251d636671828a51374933463d336774fe8403 (diff)
downloadvyos-cloud-init-deb6d2356e3989d09029264c74b7d65c8f4414a3.tar.gz
vyos-cloud-init-deb6d2356e3989d09029264c74b7d65c8f4414a3.zip
Another silly typo.
Diffstat (limited to 'cloudinit/DataSourceEc2.py')
-rw-r--r--cloudinit/DataSourceEc2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index 942581bf..0d04f607 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -110,8 +110,8 @@ class DataSourceEc2(DataSource.DataSource):
addresslist = [['169.254.169.254',80], ["instance-data",8773]]
starttime = time.time()
- # Remove addresses from the list that wont resolve.
- addresslist[:] = [x for x in addresslist if try_to_resolve_metadata(x)]
+ # Remove addresses from the list that wont resolve.
+ addresslist[:] = [x for x in addresslist if self.try_to_resolve_metadata(x)]
log.warning("Checking the following for metadata service:")
for addr in addresslist: