Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
thampiotr committed Jul 10, 2023
1 parent 784d3f7 commit 2a21da0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package build

import (
"github.com/grafana/agent/component/common/loki"
"time"

"github.com/grafana/agent/component/common/loki"
)

type GlobalContext struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ package build

import (
"fmt"
"strings"
"time"

"github.com/grafana/agent/component/common/loki"
flowrelabel "github.com/grafana/agent/component/common/relabel"
"github.com/grafana/agent/component/discovery"
Expand All @@ -20,8 +23,6 @@ import (
"github.com/grafana/agent/pkg/river/token/builder"
"github.com/grafana/loki/clients/pkg/promtail/scrapeconfig"
"github.com/prometheus/common/model"
"strings"
"time"
)

type ScrapeConfigBuilder struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package build

import (
"fmt"

"github.com/grafana/agent/component/loki/process/stages"
"github.com/grafana/agent/converter/diag"
promtailstages "github.com/grafana/loki/clients/pkg/logentry/stages"
Expand Down
1 change: 1 addition & 0 deletions converter/internal/promtailconvert/promtailconvert.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bytes"
"flag"
"fmt"

"github.com/alecthomas/units"
"github.com/grafana/agent/component/common/loki"
lokiwrite "github.com/grafana/agent/component/loki/write"
Expand Down

0 comments on commit 2a21da0

Please sign in to comment.