diff --git a/sstable/reader.go b/sstable/reader.go index 726733072e..05c3390053 100644 --- a/sstable/reader.go +++ b/sstable/reader.go @@ -104,7 +104,6 @@ type Iterator interface { SetCloseHook(fn func(i Iterator) error) } - // Iterator positioning optimizations and singleLevelIterator and // twoLevelIterator: // diff --git a/sstable/reader_test.go b/sstable/reader_test.go index 8246b4d6ff..0024a1d8b2 100644 --- a/sstable/reader_test.go +++ b/sstable/reader_test.go @@ -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) { @@ -420,8 +420,8 @@ func runTestReader( } } iter, err := r.NewIterWithBlockPropertyFilters( - nil, /* lower */ - nil, /* upper */ + nil, /* lower */ + nil, /* upper */ filterer, true, /* use filter block */ &stats,