Skip to content

Commit

Permalink
Specify detailed diff iff there is a diff
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Apr 24, 2024
1 parent 508f0de commit b483c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (d DiffResponse) rpc() *rpc.DiffResponse {
DeleteBeforeReplace: d.DeleteBeforeReplace,
Changes: rpc.DiffResponse_DIFF_NONE,
DetailedDiff: detailedDiff(d.DetailedDiff).rpc(),
HasDetailedDiff: true,
HasDetailedDiff: len(d.DetailedDiff) == 0,
}
if d.HasChanges {
r.Changes = rpc.DiffResponse_DIFF_SOME
Expand Down

0 comments on commit b483c8a

Please sign in to comment.