Skip to content

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
flywukong committed Nov 10, 2023
1 parent 036efe2 commit 8e44eb4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ethdb/pebble/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ func (d *Database) onWriteStallEnd() {
}

// panicLogger is just a noop logger to disable Pebble's internal logger.
//
// TODO(karalabe): Remove when Pebble sets this as teh default.
type panicLogger struct{}

func (l panicLogger) Infof(format string, args ...interface{}) {
Expand Down Expand Up @@ -155,7 +153,7 @@ func New(file string, cache int, handles int, namespace string, readonly bool) (
}

logger.Info("Allocated cache and file handles", "cache", common.StorageSize(cache*1024*1024),
"handles", handles, "memTable size:", memTableSize)
"handles", handles, "memTable size:", common.StorageSize(memTableSize))

db := &Database{
fn: file,
Expand Down

0 comments on commit 8e44eb4

Please sign in to comment.