Merge "Multi-Regions Support"
This commit is contained in:
commit
2a03b895d5
@ -72,7 +72,8 @@ def main():
|
|||||||
|
|
||||||
for _endpoint in cloud.keystone_client.endpoints.list():
|
for _endpoint in cloud.keystone_client.endpoints.list():
|
||||||
if _endpoint.service_id == service.id and \
|
if _endpoint.service_id == service.id and \
|
||||||
_endpoint.interface == interface:
|
_endpoint.interface == interface and \
|
||||||
|
_endpoint.region == endpoint_region:
|
||||||
endpoint = _endpoint
|
endpoint = _endpoint
|
||||||
if endpoint.url != url:
|
if endpoint.url != url:
|
||||||
changed = True
|
changed = True
|
||||||
|
Loading…
Reference in New Issue
Block a user