Skip to content

Commit

Permalink
Update the go-kit/log package reference (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
peimanja authored Jun 5, 2023
1 parent 1d1080e commit 35d88a2
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion artifactory/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/tls"
"net/http"

"github.com/go-kit/kit/log"
"github.com/go-kit/log"
"github.com/peimanja/artifactory_exporter/config"
)

Expand Down
2 changes: 1 addition & 1 deletion artifactory/federation.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package artifactory
import (
"encoding/json"

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

const federationMirrorsLagEndpoint = "federation/status/mirrorsLag"
Expand Down
2 changes: 1 addition & 1 deletion artifactory/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

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

const replicationEndpoint = "replications"
Expand Down
2 changes: 1 addition & 1 deletion artifactory/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package artifactory
import (
"encoding/json"

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

const (
Expand Down
2 changes: 1 addition & 1 deletion artifactory/storageinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package artifactory
import (
"encoding/json"

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

const (
Expand Down
2 changes: 1 addition & 1 deletion artifactory/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package artifactory
import (
"encoding/json"

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

const (
Expand Down
2 changes: 1 addition & 1 deletion artifactory/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io/ioutil"
"net/http"

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

// APIErrors represents Artifactory API Error response
Expand Down
2 changes: 1 addition & 1 deletion artifactory_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"os"

"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/peimanja/artifactory_exporter/collector"
"github.com/peimanja/artifactory_exporter/config"
"github.com/prometheus/client_golang/prometheus"
Expand Down
2 changes: 1 addition & 1 deletion collector/artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down
2 changes: 1 addition & 1 deletion collector/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collector
import (
"sync"

"github.com/go-kit/kit/log"
"github.com/go-kit/log"
"github.com/peimanja/artifactory_exporter/artifactory"
"github.com/peimanja/artifactory_exporter/config"
"github.com/prometheus/client_golang/prometheus"
Expand Down
2 changes: 1 addition & 1 deletion collector/federation.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package collector

import (
"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down
2 changes: 1 addition & 1 deletion collector/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collector
import (
"strings"

"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down
2 changes: 1 addition & 1 deletion collector/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collector
import (
"fmt"

"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/peimanja/artifactory_exporter/artifactory"
"github.com/prometheus/client_golang/prometheus"
)
Expand Down
2 changes: 1 addition & 1 deletion collector/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collector
import (
"strings"

"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/peimanja/artifactory_exporter/artifactory"
"github.com/prometheus/client_golang/prometheus"
)
Expand Down
2 changes: 1 addition & 1 deletion collector/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"time"

"github.com/go-kit/kit/log/level"
"github.com/go-kit/log/level"
"github.com/peimanja/artifactory_exporter/artifactory"
"github.com/prometheus/client_golang/prometheus"
)
Expand Down
2 changes: 1 addition & 1 deletion collector/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

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

func (e *Exporter) removeCommas(str string) (float64, error) {
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"time"

"github.com/go-kit/kit/log"
"github.com/go-kit/log"
"github.com/kelseyhightower/envconfig"
"github.com/prometheus/common/promlog"
"github.com/prometheus/common/promlog/flag"
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/peimanja/artifactory_exporter
go 1.18

require (
github.com/go-kit/kit v0.9.0
github.com/go-kit/log v0.1.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/prometheus/client_golang v1.11.1
github.com/prometheus/common v0.26.0
Expand All @@ -15,7 +15,6 @@ require (
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/go-kit/log v0.1.0 // indirect
github.com/go-logfmt/logfmt v0.5.0 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk=
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-kit/log v0.1.0 h1:DGJh0Sm43HbOeYDNnVZFl8BvcYVvjD5bqYJvp0REbwQ=
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
Expand Down

0 comments on commit 35d88a2

Please sign in to comment.