Somewhat doing usefull things

This commit is contained in:
2022-10-13 14:37:43 +10:30
parent 74ebac01fd
commit 097e315193
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class Openstack_Keystone():
return(_endpoint)
def getEndpointByNameIDAndInterface(_self,name,interface):
serviceID=_self.getServicebyName(name)['id']
id=_self.getServicebyName(name)['id']
for _endpoint in _self.catalogData['endpoints']:
if str(_endpoint['service_id']).lower()==str(id).lower():
if str(_endpoint['interface']).lower()==str(interface).lower():