diff --git a/keystoneauth1/access/service_catalog.py b/keystoneauth1/access/service_catalog.py index 184569c6..dd51ded3 100644 --- a/keystoneauth1/access/service_catalog.py +++ b/keystoneauth1/access/service_catalog.py @@ -70,7 +70,7 @@ class ServiceCatalog(object): def _normalize_endpoints(self, endpoints): """Translate endpoint description dicts into v3 form. - Takes a the raw endpoint description from the catalog and changes + Takes a raw endpoint description from the catalog and changes it to be in v3 format. It also saves a copy of the data in raw_endpoint so that it can be returned by methods that expect the actual original data. @@ -423,7 +423,7 @@ class ServiceCatalogV2(ServiceCatalog): @staticmethod def normalize_interface(interface): if interface and 'URL' not in interface: - interface = interface + 'URL' + interface += 'URL' return interface @@ -433,7 +433,7 @@ class ServiceCatalogV2(ServiceCatalog): def _normalize_endpoints(self, endpoints): """Translate endpoint description dicts into v3 form. - Takes a the raw endpoint description from the catalog and changes + Takes a raw endpoint description from the catalog and changes it to be in v3 format. It also saves a copy of the data in raw_endpoint so that it can be returned by methods that expect the actual original data.