Skip to content

Commit 84068ad

Browse files
authored
Merge pull request #852 from simonpasquier/migrate-to-chi-v5
chore: migrate to github.com/go-chi/chi/v5
2 parents 1350a0e + a9abc10 commit 84068ad

File tree

18 files changed

+17
-20
lines changed

18 files changed

+17
-20
lines changed

api/logs/v1/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/url"
99
"time"
1010

11-
"github.com/go-chi/chi"
11+
"github.com/go-chi/chi/v5"
1212
"github.com/go-kit/log"
1313
"github.com/prometheus/client_golang/prometheus"
1414
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"

api/logs/v1/rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http"
88

99
"github.com/ghodss/yaml"
10-
"github.com/go-chi/chi"
10+
"github.com/go-chi/chi/v5"
1111

1212
"github.com/observatorium/api/authentication"
1313
"github.com/observatorium/api/httperr"

api/logs/v1/rules_prometheus_labels_enforcer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"os"
1212
"testing"
1313

14-
"github.com/go-chi/chi"
14+
"github.com/go-chi/chi/v5"
1515
"github.com/go-kit/log"
1616
"github.com/prometheus/prometheus/model/labels"
1717

api/metrics/legacy/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/url"
88
"time"
99

10-
"github.com/go-chi/chi"
10+
"github.com/go-chi/chi/v5"
1111
"github.com/go-kit/log"
1212
"github.com/prometheus/client_golang/prometheus"
1313
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"

api/metrics/v1/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/url"
88
"time"
99

10-
"github.com/go-chi/chi"
10+
"github.com/go-chi/chi/v5"
1111
"github.com/go-kit/log"
1212
"github.com/go-kit/log/level"
1313
"github.com/prometheus/client_golang/prometheus"

api/probes/v1/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"net/url"
1212
"time"
1313

14-
"github.com/go-chi/chi"
14+
"github.com/go-chi/chi/v5"
1515
"github.com/go-kit/log"
1616
"github.com/go-kit/log/level"
1717

api/traces/v1/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"strings"
1616
"time"
1717

18-
"github.com/go-chi/chi"
18+
"github.com/go-chi/chi/v5"
1919
"github.com/go-kit/log"
2020
"github.com/go-kit/log/level"
2121
"github.com/prometheus/client_golang/prometheus"

authentication/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"strings"
88

9-
"github.com/go-chi/chi"
9+
"github.com/go-chi/chi/v5"
1010

1111
"github.com/observatorium/api/httperr"
1212
)

authentication/oidc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
"github.com/coreos/go-oidc/v3/oidc"
1717
"github.com/efficientgo/core/backoff"
18-
"github.com/go-chi/chi"
18+
"github.com/go-chi/chi/v5"
1919
"github.com/go-kit/log"
2020
"github.com/go-kit/log/level"
2121
grpc_middleware_auth "github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/auth"

authentication/openshift.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"github.com/efficientgo/core/backoff"
16-
"github.com/go-chi/chi"
16+
"github.com/go-chi/chi/v5"
1717
"github.com/go-kit/log"
1818
"github.com/go-kit/log/level"
1919
"github.com/golang-jwt/jwt/v4"

0 commit comments

Comments
 (0)