Fix a debug message error (#84426)

pull/84290/merge
spyinx 12 months ago committed by GitHub
parent 3c91eab0d8
commit 563906687b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,2 @@
bugfixes:
- Fix a display.debug statement with the wrong param in _get_diff_data() method

@ -1372,7 +1372,7 @@ class ActionBase(ABC):
elif peek_result.get('size') and C.MAX_FILE_SIZE_FOR_DIFF > 0 and peek_result['size'] > C.MAX_FILE_SIZE_FOR_DIFF:
diff['dst_larger'] = C.MAX_FILE_SIZE_FOR_DIFF
else:
display.debug(u"Slurping the file %s" % source)
display.debug(u"Slurping the file %s" % destination)
dest_result = self._execute_module(
module_name='ansible.legacy.slurp', module_args=dict(path=destination),
task_vars=task_vars, persist_files=True)

Loading…
Cancel
Save