diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-09-10 16:00:00 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-09-10 16:00:00 -0400 |
commit | 44113217719ebee756325b40a5d14045ba8f3a3a (patch) | |
tree | b8b57a2fe2a87d654dc869da642606f6fa8f948f /cloudinit/sources/DataSourceOpenStack.py | |
parent | c548fdf3201519c1c30c815ba9feec643b87e0bf (diff) | |
download | vyos-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.py | 4 |
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 |