Browse Source

Fix interface argument to get_all_version_data

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
tags/3.6.1^0
Monty Taylor 1 year ago
parent
commit
0bebdaf0f9
No account linked to committer's email address

+ 1
- 1
keystoneauth1/session.py View File

@@ -1048,7 +1048,7 @@ class Session(object):
1048 1048
         auth = self._auth_required(auth, 'determine endpoint URL')
1049 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 1052
                              region_name=None, **kwargs):
1053 1053
         """Get version data for all services in the catalog.
1054 1054
 

+ 6
- 0
releasenotes/notes/fix-get-all-version-data-a01ee58524755b9b.yaml View File

@@ -0,0 +1,6 @@
1
+---
2
+fixes:
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.

Loading…
Cancel
Save