all: make fmt

This commit is contained in:
Aliaksandr Valialkin 2019-10-17 20:04:26 +03:00
parent 88d793305d
commit 78fc35c9b1
3 changed files with 3 additions and 4 deletions

View file

@ -88,8 +88,8 @@ func TestRowsUnmarshalSuccess(t *testing.T) {
// Timestamp bigger than 1<<31 // Timestamp bigger than 1<<31
f("aaa 1123 429496729600", &Rows{ f("aaa 1123 429496729600", &Rows{
Rows: []Row{{ Rows: []Row{{
Metric: "aaa", Metric: "aaa",
Value: 1123, Value: 1123,
Timestamp: 429496729600, Timestamp: 429496729600,
}}, }},
}) })

View file

@ -147,7 +147,6 @@ type partition struct {
bigPartsMergerWG sync.WaitGroup bigPartsMergerWG sync.WaitGroup
rawRowsFlusherWG sync.WaitGroup rawRowsFlusherWG sync.WaitGroup
inmemoryPartsFlusherWG sync.WaitGroup inmemoryPartsFlusherWG sync.WaitGroup
} }
// partWrapper is a wrapper for the part. // partWrapper is a wrapper for the part.

View file

@ -42,7 +42,7 @@ type partitionWrapper struct {
// The partition must be dropped if mustDrop > 0 // The partition must be dropped if mustDrop > 0
mustDrop uint64 mustDrop uint64
pt *partition pt *partition
} }
func (ptw *partitionWrapper) incRef() { func (ptw *partitionWrapper) incRef() {