summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/aai_client.py')
-rwxr-xr-xcomponents/pm-subscription-handler/pmsh_service/mod/aai_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
index 86cecb50..5e71da4d 100755
--- a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
+++ b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
@@ -55,7 +55,7 @@ def _get_all_aai_nf_data():
Return queried nf data from the AAI service.
Returns:
- json: the json response from AAI query, else None.
+ dict: the json response from AAI query, else None.
"""
nf_data = None
try:
@@ -94,7 +94,7 @@ def _get_aai_service_url():
"""
try:
aai_service = environ['AAI_SERVICE_HOST']
- aai_ssl_port = environ['AAI_SERVICE_PORT_AAI_SSL']
+ aai_ssl_port = environ['AAI_SERVICE_PORT']
return f'https://{aai_service}:{aai_ssl_port}'
except KeyError as e:
logger.debug(f'Failed to get AAI env vars: {e}')