Move a logging line closer to where the data being logging is
used. This avoids having a dependency on logging in a fairly
simple function and should make moving the function in a future
commit easier.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
else:
with open(source, 'rb') as fh:
config_data = json.load(fh)
- logger.debug('Loaded deploy configuration: %r', config_data)
return config_data
configuration parameters from an input JSON configuration file.
"""
config_data = read_configuration_source(ctx)
+ logger.debug('Loaded deploy configuration: %r', config_data)
apply_deploy_config_to_ctx(config_data, ctx)
_common_deploy(ctx)