diff options
author | Hansen, Tony (th1395) <th1395@att.com> | 2021-07-20 22:05:23 +0000 |
---|---|---|
committer | Hansen, Tony (th1395) <th1395@att.com> | 2021-07-20 22:05:36 +0000 |
commit | 51348c0dac96d4499035ac771d660f52e0c4006a (patch) | |
tree | dbdff833f52b93d54e1951e39991ac9d89245069 /onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client | |
parent | 876d17be6b1916c08fb36edcdf924859cb04e3cc (diff) |
onap-dcae-cbs-docker-client remove "config" level for get_config()
Change-Id: Ic8949abc0f9316999f7c3b67fdeb86d5ff172b72
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2733
Issue-ID: DCAEGEN2-2753
Diffstat (limited to 'onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client')
-rw-r--r-- | onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py b/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py index c42b4ae..a9bfa34 100644 --- a/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py +++ b/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py @@ -219,7 +219,7 @@ def get_config(): config = yaml.safe_load(fp) logger.debug(f"Returning config read from {config_path}") - return _recurse({"config": config}) + return _recurse(config) except yaml.scanner.ScannerError as e: logger.error(f"The configuration file '{config_path}' has invalid YAML: {e}") |