diff options
Diffstat (limited to 'vnfs/DAaaS/lib/promql_api/prom_ql_api.py')
-rw-r--r-- | vnfs/DAaaS/lib/promql_api/prom_ql_api.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnfs/DAaaS/lib/promql_api/prom_ql_api.py b/vnfs/DAaaS/lib/promql_api/prom_ql_api.py index 1dc578e9..2ee273a0 100644 --- a/vnfs/DAaaS/lib/promql_api/prom_ql_api.py +++ b/vnfs/DAaaS/lib/promql_api/prom_ql_api.py @@ -128,7 +128,7 @@ def validate_parameters(map_of_parameters): raise Exception(':: Value Paramter of key: \'{}\' NOT a string! Values should be string ::'.format(k)) return True - + def query_range(map_of_parameters): list_of_result_sets = [] set_log_config() @@ -136,7 +136,7 @@ def query_range(map_of_parameters): LOG.info(':::Validation of map_of_parameters done::') load_and_validate_env_vars(LIST_OF_ENV_VARIABLES) LOG.info("Forming the query_range request ...") - + list_of_substrings = [] list_of_substrings.append(MAP_ENV_VARIABLES['DATA_ENDPOINT']) list_of_substrings.append(QUERY_RANGE_API_VERSION) @@ -168,4 +168,4 @@ def query_range(map_of_parameters): LOG.info('::::::::::RESULTS OF QUERY_RANGE::::::::::::: {}'.format(map_of_parameters)) list_of_result_sets.append(results) - return list_of_result_sets
\ No newline at end of file + return list_of_result_sets |