X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fplugins%2FOpenStack%2Fcommon.py;h=2540a3f0d7db6f43e24317920bd11a660ade2e23;hb=refs%2Fchanges%2F57%2F5957%2F1;hp=57acf402f9cb3799f894da26649101b00aaa696b;hpb=ad1d76c5afc49644f7d864eee85d8e4d09a184cc;p=osm%2FMON.git diff --git a/osm_mon/plugins/OpenStack/common.py b/osm_mon/plugins/OpenStack/common.py index 57acf40..2540a3f 100644 --- a/osm_mon/plugins/OpenStack/common.py +++ b/osm_mon/plugins/OpenStack/common.py @@ -62,8 +62,8 @@ class Common(object): tenant_name=creds.tenant_name) return ks.service_catalog.url_for( service_type=service_type, - endpoint_type='publicURL', - region_name='RegionOne') + endpoint_type=creds.endpoint_type, + region_name=creds.region_name) @staticmethod def perform_request(url, auth_token,