Merge "Multi-Regions Support"

This commit is contained in:
Jenkins 2017-02-14 16:47:17 +00:00 committed by Gerrit Code Review
commit 2a03b895d5

View File

@ -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