Skip to content

Commit

Permalink
Remove deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
xperimental committed Nov 14, 2023
1 parent 85216bd commit e94b2c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/clients/promtail.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

kitlog "github.com/go-kit/kit/log"
kitlog "github.com/go-kit/log"
"github.com/grafana/dskit/backoff"
"github.com/grafana/dskit/flagext"
"github.com/grafana/loki/clients/pkg/promtail/api"
Expand Down
9 changes: 3 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ package main
import (
"encoding/json"
"fmt"
"math/rand"
"time"

log "github.com/sirupsen/logrus"
"github.com/spf13/pflag"

"github.com/ViaQ/cluster-logging-load-client/internal"
"github.com/ViaQ/cluster-logging-load-client/internal/generator"
"github.com/ViaQ/cluster-logging-load-client/internal/querier"
log "github.com/sirupsen/logrus"
"github.com/spf13/pflag"
)

var (
Expand Down Expand Up @@ -40,8 +39,6 @@ func init() {
}

func main() {
rand.Seed(time.Now().UnixNano())

ll, err := log.ParseLevel(logLevel)
if err != nil {
ll = log.ErrorLevel
Expand Down

0 comments on commit e94b2c1

Please sign in to comment.