Skip to content

Commit 9e62e65

Browse files
committed
fix lint err
1 parent 935cb21 commit 9e62e65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ethdb/pebble/pebble.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ func New(file string, cache int, handles int, namespace string, readonly bool, e
192192
extraOptions.MaxConcurrentCompactions = func() int { return runtime.NumCPU() }
193193
}
194194

195-
var opt *pebble.Options
196-
opt = &pebble.Options{
195+
opt := &pebble.Options{
197196
// Pebble has a single combined cache area and the write
198197
// buffers are taken from this too. Assign all available
199198
// memory allowance for cache.

0 commit comments

Comments
 (0)