Skip to content

Commit

Permalink
Fix deprecated package error
Browse files Browse the repository at this point in the history
"github.com/go-kit/kit/log" is deprecated: Use github.com/go-kit/log instead. (SA1019)
  • Loading branch information
garyclee committed May 29, 2024
1 parent d61d5af commit 6419792
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/promxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

_ "net/http/pprof"

kitlog "github.com/go-kit/kit/log"
kitlog "github.com/go-kit/log"
"github.com/golang/glog"
"github.com/grafana/regexp"
"github.com/jessevdk/go-flags"
Expand Down
4 changes: 2 additions & 2 deletions pkg/logging/logrus_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"fmt"

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/remote/queue_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (

"golang.org/x/time/rate"

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/remote/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"sync"
"time"

"github.com/go-kit/kit/log"
"github.com/go-kit/log"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/model/labels"
Expand Down

0 comments on commit 6419792

Please sign in to comment.