Skip to content

Commit

Permalink
Fix lint errors from cockroachdb#2051
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeerbhola committed Oct 27, 2022
1 parent e1da16a commit d8b1fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion sstable/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ type Iterator interface {
SetCloseHook(fn func(i Iterator) error)
}


// Iterator positioning optimizations and singleLevelIterator and
// twoLevelIterator:
//
Expand Down
6 changes: 3 additions & 3 deletions sstable/reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func TestReaderWithBlockPropertyFilter(t *testing.T) {
BlockPropertyCollectors: []func() BlockPropertyCollector{NewTestKeysBlockPropertyCollector},
}
runTestReader(
t, writerOpt, "testdata/reader_bpf", nil /* Reader */,0, true)
t, writerOpt, "testdata/reader_bpf", nil /* Reader */, 0, true)
}

func TestInjectedErrors(t *testing.T) {
Expand Down Expand Up @@ -420,8 +420,8 @@ func runTestReader(
}
}
iter, err := r.NewIterWithBlockPropertyFilters(
nil, /* lower */
nil, /* upper */
nil, /* lower */
nil, /* upper */
filterer,
true, /* use filter block */
&stats,
Expand Down

0 comments on commit d8b1fc4

Please sign in to comment.