Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'report_diff' key in result data in case of available diff data
In case that a 'diff' key with 'before' and 'after' data is available create a unified diff from 'before' and 'after' and store below the 'report_diff' key as a string for later consumption in config reports on the forman server. Remove the 'diff' key afterwards to save space as it contains the full contents of the saved file before and after the change. Signed-off-by: Ruediger Pluem <[email protected]>
- Loading branch information