summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2018-05-10 19:00:01 -0500
committerMonty Taylor <mordred@inaugust.com>2018-05-10 19:02:46 -0500
commit0bebdaf0f90deef5121234ac98daa58e6f1f0f77 (patch)
tree6735ca269e6d1e6ffb11fb4172ab525ae68454c0
parentc0d51571577a485890c7bde4947b6243a9e8215c (diff)
Fix interface argument to get_all_version_data3.6.1
The new get_all_version_data call lists 'public' as the default value for interface, but had None in the arguments. 'public' was the intent, and is what the similar call on the base auth plugin does. Change-Id: I5db2b66d0c130ed80b13ee0c41e0e37c6f7234a7
Notes
Notes (review): Code-Review+2: Morgan Fainberg <morgan.fainberg@gmail.com> Code-Review+2: Colleen Murphy <colleen@gazlene.net> Workflow+1: Colleen Murphy <colleen@gazlene.net> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 11 May 2018 02:54:37 +0000 Reviewed-on: https://review.openstack.org/567702 Project: openstack/keystoneauth Branch: refs/heads/master
-rw-r--r--keystoneauth1/session.py2
-rw-r--r--releasenotes/notes/fix-get-all-version-data-a01ee58524755b9b.yaml6
2 files changed, 7 insertions, 1 deletions
diff --git a/keystoneauth1/session.py b/keystoneauth1/session.py
index 35e47e6..6ab1e14 100644
--- a/keystoneauth1/session.py
+++ b/keystoneauth1/session.py
@@ -1048,7 +1048,7 @@ class Session(object):
1048 auth = self._auth_required(auth, 'determine endpoint URL') 1048 auth = self._auth_required(auth, 'determine endpoint URL')
1049 return auth.get_api_major_version(self, **kwargs) 1049 return auth.get_api_major_version(self, **kwargs)
1050 1050
1051 def get_all_version_data(self, auth=None, interface=None, 1051 def get_all_version_data(self, auth=None, interface='public',
1052 region_name=None, **kwargs): 1052 region_name=None, **kwargs):
1053 """Get version data for all services in the catalog. 1053 """Get version data for all services in the catalog.
1054 1054
diff --git a/releasenotes/notes/fix-get-all-version-data-a01ee58524755b9b.yaml b/releasenotes/notes/fix-get-all-version-data-a01ee58524755b9b.yaml
new file mode 100644
index 0000000..7ef980e
--- /dev/null
+++ b/releasenotes/notes/fix-get-all-version-data-a01ee58524755b9b.yaml
@@ -0,0 +1,6 @@
1---
2fixes:
3 - |
4 The docstring for ``keystoneauth1.session.Session.get_all_version_data``
5 correctly listed ``'public'`` as the default value, but the argument list
6 had ``None``. The default has been fixed to match the documented value.