Skip to content

Commit

Permalink
[diff] add remote url to diff command when exporting in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
rmannibucau committed Dec 13, 2023
1 parent 9140785 commit a5a7b20
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ private JsonValue doJsonDiff(final Map.Entry<Item, ActualState> it, final Map<It
return json.createObjectBuilder()
.add("resource", it.getKey().getSource().getResource())
.add("uri", it.getKey().getSource().getUri())
.add("remote", it.getValue().getUrl())
.add("expected", it.getKey().getExpected())
.add("actual", it.getValue().getActual())
.add("diff", json.createObjectBuilder()
Expand Down

0 comments on commit a5a7b20

Please sign in to comment.