Skip to content

Commit b145118

Browse files
authored
feat: replace go-kit/kit with go-kit/log (#479)
* feat: replace go-kit/kit with go-kit/log Signed-off-by: Yoan Blanc <[email protected]> * fixup! feat: replace go-kit/kit with go-kit/log Signed-off-by: Yoan Blanc <[email protected]> * fixup! fixup! feat: replace go-kit/kit with go-kit/log Signed-off-by: Yoan Blanc <[email protected]>
1 parent 87a3f7d commit b145118

20 files changed

+32
-31
lines changed

collector/cluster_health.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"net/url"
2222
"path"
2323

24-
"github.com/go-kit/kit/log"
25-
"github.com/go-kit/kit/log/level"
24+
"github.com/go-kit/log"
25+
"github.com/go-kit/log/level"
2626
"github.com/prometheus/client_golang/prometheus"
2727
)
2828

collector/cluster_health_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"net/url"
2121
"testing"
2222

23-
"github.com/go-kit/kit/log"
23+
"github.com/go-kit/log"
2424
)
2525

2626
func TestClusterHealth(t *testing.T) {

collector/cluster_settings.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"path"
2323
"strconv"
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/imdario/mergo"
2828
"github.com/prometheus/client_golang/prometheus"
2929
)

collector/cluster_settings_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"os"
2222
"testing"
2323

24-
"github.com/go-kit/kit/log"
24+
"github.com/go-kit/log"
2525
)
2626

2727
func TestClusterSettingsStats(t *testing.T) {

collector/indices.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"path"
2323
"strconv"
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-community/elasticsearch_exporter/pkg/clusterinfo"
2828
"github.com/prometheus/client_golang/prometheus"
2929
)

collector/indices_mappings.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"net/url"
2222
"path"
2323

24-
"github.com/go-kit/kit/log"
25-
"github.com/go-kit/kit/log/level"
24+
"github.com/go-kit/log"
25+
"github.com/go-kit/log/level"
2626
"github.com/prometheus/client_golang/prometheus"
2727
)
2828

collector/indices_mappings_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"net/url"
2121
"testing"
2222

23-
"github.com/go-kit/kit/log"
23+
"github.com/go-kit/log"
2424
)
2525

2626
func TestMapping(t *testing.T) {

collector/indices_settings.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"path"
2323
"strconv"
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
)
2929

collector/indices_settings_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"net/url"
2121
"testing"
2222

23-
"github.com/go-kit/kit/log"
23+
"github.com/go-kit/log"
2424
)
2525

2626
func TestIndicesSettings(t *testing.T) {

collector/indices_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"net/url"
2121
"testing"
2222

23-
"github.com/go-kit/kit/log"
23+
"github.com/go-kit/log"
2424
)
2525

2626
func TestIndices(t *testing.T) {

0 commit comments

Comments
 (0)