Skip to content

Commit

Permalink
make sure to return empty diff resutls (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Jan 11, 2021
1 parent 66a3989 commit 45a1d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/rocks/cataloger.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ func listDiffHelper(it EntryDiffIterator, limit int, after string) (catalog.Diff
if afterPath != "" {
it.SeekGE(afterPath)
}
var diffs catalog.Differences
diffs := make(catalog.Differences, 0)
for it.Next() {
v := it.Value()
if v.Path == afterPath {
Expand Down

0 comments on commit 45a1d34

Please sign in to comment.