mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #2272 from FireHost/fix_file_diff
Fix the diff orientation for check_file_meta
This commit is contained in:
commit
8df6e8022f
@ -1083,7 +1083,7 @@ def check_file_meta(
|
||||
slines = src.readlines()
|
||||
nlines = name_.readlines()
|
||||
changes['diff'] = (
|
||||
''.join(difflib.unified_diff(slines, nlines))
|
||||
''.join(difflib.unified_diff(nlines, slines))
|
||||
)
|
||||
else:
|
||||
changes['sum'] = 'Checksum differs'
|
||||
|
Loading…
Reference in New Issue
Block a user