Skip to content

Commit 6419792

Browse files
committed
Fix deprecated package error
"github.com/go-kit/kit/log" is deprecated: Use github.com/go-kit/log instead. (SA1019)
1 parent d61d5af commit 6419792

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

cmd/promxy/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818

1919
_ "net/http/pprof"
2020

21-
kitlog "github.com/go-kit/kit/log"
21+
kitlog "github.com/go-kit/log"
2222
"github.com/golang/glog"
2323
"github.com/grafana/regexp"
2424
"github.com/jessevdk/go-flags"

pkg/logging/logrus_logger.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66
"fmt"
77

8-
"github.com/go-kit/kit/log"
9-
"github.com/go-kit/kit/log/level"
8+
"github.com/go-kit/log"
9+
"github.com/go-kit/log/level"
1010
"github.com/sirupsen/logrus"
1111
)
1212

pkg/remote/queue_manager.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222

2323
"golang.org/x/time/rate"
2424

25-
"github.com/go-kit/kit/log"
26-
"github.com/go-kit/kit/log/level"
25+
"github.com/go-kit/log"
26+
"github.com/go-kit/log/level"
2727
"github.com/prometheus/client_golang/prometheus"
2828
"github.com/prometheus/common/model"
2929
"github.com/prometheus/prometheus/config"

pkg/remote/storage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"sync"
1919
"time"
2020

21-
"github.com/go-kit/kit/log"
21+
"github.com/go-kit/log"
2222
"github.com/prometheus/common/model"
2323
"github.com/prometheus/prometheus/config"
2424
"github.com/prometheus/prometheus/model/labels"

0 commit comments

Comments
 (0)