Skip to content

Commit

Permalink
chore(deps): bump go.einride.tech/sage from 0.264.0 to 0.267.0 in /.sage
Browse files Browse the repository at this point in the history
Bumps [go.einride.tech/sage](https://github.com/einride/sage) from 0.264.0 to 0.267.0.
- [Release notes](https://github.com/einride/sage/releases)
- [Commits](einride/sage@v0.264.0...v0.267.0)

---
updated-dependencies:
- dependency-name: go.einride.tech/sage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] committed Feb 15, 2024
1 parent 5aaa7d6 commit 84a36be
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .sage/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module sage

go 1.17

require go.einride.tech/sage v0.264.0
require go.einride.tech/sage v0.267.0
4 changes: 2 additions & 2 deletions .sage/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
go.einride.tech/sage v0.264.0 h1:NuEefbHh89txKXhVLcn70y1M2dY+eJw9cjLeousZefs=
go.einride.tech/sage v0.264.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=
go.einride.tech/sage v0.267.0 h1:jTdPnRFW9aBTi7p02JL9k7dQrcZFdqSnBSPyZb7uDMQ=
go.einride.tech/sage v0.267.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=
4 changes: 2 additions & 2 deletions cmd/example-server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func newServer(spannerClient *spanner.Client) (*iamexample.Authorization, error)
iamDescriptor.PredefinedRoles.Role,
iamcaller.FromContextResolver(),
iamspanner.ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
log.Println(err)
},
},
Expand All @@ -47,7 +47,7 @@ func newServer(spannerClient *spanner.Client) (*iamexample.Authorization, error)
IAM: iamServer,
Spanner: spannerClient,
Config: iamexample.Config{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
log.Println(err)
},
},
Expand Down
4 changes: 2 additions & 2 deletions iamexample/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (ts *serverTestSuite) newTestFixture(t *testing.T) *serverTestFixture {
iamDescriptor.PredefinedRoles.Role,
iamcaller.FromContextResolver(),
iamspanner.ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand All @@ -75,7 +75,7 @@ func (ts *serverTestSuite) newTestFixture(t *testing.T) *serverTestFixture {
IAM: iamServer,
Spanner: spannerClient,
Config: Config{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down
46 changes: 23 additions & 23 deletions iamspanner/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand All @@ -104,7 +104,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand All @@ -125,7 +125,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand All @@ -146,7 +146,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -183,7 +183,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -215,7 +215,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -259,7 +259,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -306,7 +306,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
ValidateMember: func(s string) error {
Expand Down Expand Up @@ -341,7 +341,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -371,7 +371,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -403,7 +403,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -433,7 +433,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -488,7 +488,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -529,7 +529,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -557,7 +557,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -586,7 +586,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -630,7 +630,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -675,7 +675,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -719,7 +719,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -764,7 +764,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -809,7 +809,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand All @@ -834,7 +834,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down Expand Up @@ -876,7 +876,7 @@ func TestServer(t *testing.T) {
roles,
iamcaller.FromContextResolver(),
ServerConfig{
ErrorHook: func(ctx context.Context, err error) {
ErrorHook: func(_ context.Context, err error) {
t.Log(err)
},
},
Expand Down
2 changes: 1 addition & 1 deletion iamspanner/server_testiampermissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (s *IAMServer) TestIamPermissions(
tx,
[]string{request.Resource},
caller.Members,
func(ctx context.Context, _ string, role *adminpb.Role, _ string) error {
func(_ context.Context, _ string, role *adminpb.Role, _ string) error {
for _, permission := range request.Permissions {
if s.roles.RoleHasPermission(role.Name, permission) {
permissions[permission] = struct{}{}
Expand Down
2 changes: 1 addition & 1 deletion iamspanner/server_testpermissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (s *IAMServer) TestPermissions(
tx,
resources,
caller.Members,
func(ctx context.Context, boundResource string, role *adminpb.Role, _ string) error {
func(_ context.Context, boundResource string, role *adminpb.Role, _ string) error {
for resource, permission := range resourcePermissions {
result[resource] = result[resource] ||
(boundResource == iamresource.Root ||
Expand Down

0 comments on commit 84a36be

Please sign in to comment.