Skip to content

Commit

Permalink
Fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stoewer committed Jul 2, 2024
1 parent f925f94 commit a1c2083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/traceql/ast_stringer.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func (s Static) EncodeToString(quotes bool) string {
default:
return fmt.Sprintf("static(%d)", s.Type)
}

}

func (a Attribute) String() string {
Expand Down
5 changes: 3 additions & 2 deletions pkg/traceql/ast_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package traceql

import (
"fmt"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"math"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestNewStaticNil(t *testing.T) {
Expand Down

0 comments on commit a1c2083

Please sign in to comment.