Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hailin0 committed Aug 8, 2023
1 parent 675ec7b commit 1006e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion banyand/tsdb/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ func NewBuffer(log *logger.Logger, position common.Position, flushSize, writeCon
}

// NewBufferWithWal creates a new Buffer instance with the given parameters.
func NewBufferWithWal(log *logger.Logger, position common.Position, flushSize, writeConcurrency, numShards int, onFlushFn onFlush, enableWal bool, walPath *string) (*Buffer, error) {
func NewBufferWithWal(log *logger.Logger, position common.Position, flushSize, writeConcurrency, numShards int, onFlushFn onFlush, enableWal bool, walPath *string,
) (*Buffer, error) {
buckets := make([]bufferShardBucket, numShards)
buffer := &Buffer{
buckets: buckets,
Expand Down

0 comments on commit 1006e17

Please sign in to comment.