Fix deprecation warning in tackerclient
Changed _extract_service_catalog to match neutronclient to remove deprecation warnings when attr is provided without filter_value to get_urls(). Change-Id: Ic58060bdf50ce1f3834324372f1a375fbd15beb6 Closes-Bug: #1570641
This commit is contained in:
parent
25337d6367
commit
12e2230b3b
@ -185,7 +185,7 @@ class HTTPClient(object):
|
||||
|
||||
if not self.endpoint_url:
|
||||
self.endpoint_url = self.service_catalog.url_for(
|
||||
attr='region', filter_value=self.region_name,
|
||||
region_name=self.region_name,
|
||||
service_type=self.service_type,
|
||||
endpoint_type=self.endpoint_type)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user