Merge "Handle situation when endpoint deleted" into stable/juno
This commit is contained in:
commit
25bf3ba843
|
@ -216,7 +216,7 @@ def get_service_from_catalog(catalog, service_type):
|
|||
|
||||
|
||||
def get_version_from_service(service):
|
||||
if service:
|
||||
if service and service.get('endpoints'):
|
||||
endpoint = service['endpoints'][0]
|
||||
if 'interface' in endpoint:
|
||||
return 3
|
||||
|
|
Loading…
Reference in New Issue