summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOpenStack.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-09-10 16:00:00 -0400
committerScott Moser <smoser@ubuntu.com>2014-09-10 16:00:00 -0400
commit44113217719ebee756325b40a5d14045ba8f3a3a (patch)
treeb8b57a2fe2a87d654dc869da642606f6fa8f948f /cloudinit/sources/DataSourceOpenStack.py
parentc548fdf3201519c1c30c815ba9feec643b87e0bf (diff)
downloadvyos-cloud-init-44113217719ebee756325b40a5d14045ba8f3a3a.tar.gz
vyos-cloud-init-44113217719ebee756325b40a5d14045ba8f3a3a.zip
drop version= from readers
instead of taking a version that they should look for, the readers now just select the highest supported version. definitely a use case later for having version= but nothing is using it now.
Diffstat (limited to 'cloudinit/sources/DataSourceOpenStack.py')
-rw-r--r--cloudinit/sources/DataSourceOpenStack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceOpenStack.py b/cloudinit/sources/DataSourceOpenStack.py
index ce8e8364..466de8f4 100644
--- a/cloudinit/sources/DataSourceOpenStack.py
+++ b/cloudinit/sources/DataSourceOpenStack.py
@@ -153,9 +153,9 @@ class DataSourceOpenStack(openstack.SourceMixin, sources.DataSource):
return True
-def read_metadata_service(base_url, version=None, ssl_details=None):
+def read_metadata_service(base_url, ssl_details=None):
reader = openstack.MetadataReader(base_url, ssl_details=ssl_details)
- return reader.read_v2(version=version)
+ return reader.read_v2()
# Used to match classes to dependencies