Skip to content
Snippets Groups Projects
Commit 5cc4ed81 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Fix on publish service

parent 2b5d318f
Branches
...@@ -343,7 +343,7 @@ class PublishServiceOperations(Resource): ...@@ -343,7 +343,7 @@ class PublishServiceOperations(Resource):
def service_api_availability_event(self, service_api_description): def service_api_availability_event(self, service_api_description):
service_api_status = "" service_api_status = ""
if ServiceAPIDescription.return_supp_feat_dict(service_api_description.supported_features)["ApiStatusMonitoring"]: if ServiceAPIDescription.return_supp_feat_dict(service_api_description.get("supported_features", None))["ApiStatusMonitoring"]:
if service_api_description.api_status is None or len(service_api_description.api_status.aef_ids) > 0: if service_api_description.api_status is None or len(service_api_description.api_status.aef_ids) > 0:
current_app.logger.info( current_app.logger.info(
"Service available, at least one AEF is available") "Service available, at least one AEF is available")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment