Log 'Processing' line even if dry run.

remotes/origin/prometheus-exporter-fixes
Darko Poljak 7 years ago
parent 481b987c7e
commit dd48c82656
  1. 2
      cdist/config.py

2
cdist/config.py vendored

@ -649,9 +649,9 @@ class Config(object):
cdist_object.changed = True
# Execute
if not self.dry_run:
if cdist_object.code_local or cdist_object.code_remote:
self.log.info("Processing %s" % (cdist_object.name))
if not self.dry_run:
if cdist_object.code_local:
self.log.trace("Executing local code for %s"
% (cdist_object.name))

Loading…
Cancel
Save