Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine committed Jul 11, 2022
1 parent eff8ee6 commit 21a95c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/firedb/schemas/v1/stacktraces.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (*StacktracePersister) SortingColumns() SortingColumns {

func (*StacktracePersister) Deconstruct(row parquet.Row, id uint64, s *Stacktrace) parquet.Row {
var stored storedStacktrace
stored.ID = uint64(id)
stored.ID = id
stored.LocationIDs = s.LocationIDs
row = stacktracesSchema.Deconstruct(row, &stored)
return row
Expand Down
5 changes: 3 additions & 2 deletions pkg/firedb/schemas/v1/strings.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package v1

import (
fireparquet "github.com/grafana/fire/pkg/parquet"
"github.com/segmentio/parquet-go"

fireparquet "github.com/grafana/fire/pkg/parquet"
)

var (
Expand Down Expand Up @@ -32,7 +33,7 @@ func (*StringPersister) SortingColumns() SortingColumns {

func (*StringPersister) Deconstruct(row parquet.Row, id uint64, s string) parquet.Row {
var stored storedString
stored.ID = uint64(id)
stored.ID = id
stored.String = s
row = stringsSchema.Deconstruct(row, &stored)
return row
Expand Down

0 comments on commit 21a95c0

Please sign in to comment.