Fix logging dry run line.

This commit is contained in:
Darko Poljak 2017-09-07 12:32:04 +02:00
parent cb38354df3
commit 28d3466e9d

View file

@ -666,8 +666,9 @@ class Config(object):
% (cdist_object.name)) % (cdist_object.name))
self.code.transfer_code_remote(cdist_object) self.code.transfer_code_remote(cdist_object)
self.code.run_code_remote(cdist_object) self.code.run_code_remote(cdist_object)
else: elif cdist_object.code_local or cdist_object.code_remote:
self.log.info("Skipping code execution due to DRY RUN") self.log.info("Skipping code execution for %s due to DRY RUN",
cdist_object.name)
# Mark this object as done # Mark this object as done
self.log.trace("Finishing run of " + cdist_object.name) self.log.trace("Finishing run of " + cdist_object.name)