Skip to content

Commit 10df7e1

Browse files
zepatrikory-bot
authored andcommitted
chore: always use ristretto/v2
GitOrigin-RevId: 2e10c43e5ff35de7fb1f71109e528ab5a3721e6d
1 parent bbed48f commit 10df7e1

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

fosite/client_authentication_jwks_strategy.go

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

11-
"github.com/dgraph-io/ristretto"
11+
"github.com/dgraph-io/ristretto/v2"
1212
"github.com/hashicorp/go-retryablehttp"
1313

1414
"github.com/ory/x/errorsx"

fosite/client_authentication_jwks_strategy_test.go

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

14-
"github.com/dgraph-io/ristretto"
14+
"github.com/dgraph-io/ristretto/v2"
1515
"github.com/hashicorp/go-retryablehttp"
1616
"github.com/pkg/errors"
1717

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/bradleyjkemp/cupaloy/v2 v2.8.0
1414
github.com/cenkalti/backoff/v3 v3.2.2
1515
github.com/cristalhq/jwt/v4 v4.0.2
16-
github.com/dgraph-io/ristretto v1.0.0
16+
github.com/dgraph-io/ristretto/v2 v2.2.0
1717
github.com/fatih/structs v1.1.0
1818
github.com/go-faker/faker/v4 v4.6.0
1919
github.com/go-jose/go-jose/v3 v3.0.4
@@ -100,7 +100,6 @@ require (
100100
github.com/containerd/errdefs v1.0.0 // indirect
101101
github.com/containerd/errdefs/pkg v0.3.0 // indirect
102102
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
103-
github.com/dgraph-io/ristretto/v2 v2.2.0 // indirect
104103
github.com/dimchansky/utfbom v1.1.1 // indirect
105104
github.com/distribution/reference v0.6.0 // indirect
106105
github.com/docker/cli v28.3.3+incompatible // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
8787
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
8888
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
8989
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
90-
github.com/dgraph-io/ristretto v1.0.0 h1:SYG07bONKMlFDUYu5pEu3DGAh8c2OFNzKm6G9J4Si84=
91-
github.com/dgraph-io/ristretto v1.0.0/go.mod h1:jTi2FiYEhQ1NsMmA7DeBykizjOuY88NhKBkepyu1jPc=
9290
github.com/dgraph-io/ristretto/v2 v2.2.0 h1:bkY3XzJcXoMuELV8F+vS8kzNgicwQFAaGINAEJdWGOM=
9391
github.com/dgraph-io/ristretto/v2 v2.2.0/go.mod h1:RZrm63UmcBAaYWC1DotLYBmTvgkrs0+XhBd7Npn7/zI=
9492
github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da h1:aIftn67I1fkbMa512G+w+Pxci9hJPB8oMnkcP3iZF38=

0 commit comments

Comments
 (0)