Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump golang.org/x/tools from 0.24.0 to 0.25.0 in /tools #673

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ func (e *EverestServer) validateDatabaseClusterOnCreate(
// User should be able to read a backup storage to use it in a backup schedule.
for _, sched := range schedules {
if err := e.enforce(user, rbac.ResourceBackupStorages, rbac.ActionRead,
rbac.ObjectName(namespace, sched.BackupStorageName)); err != nil {
rbac.ObjectName(namespace, sched.BackupStorageName),
); err != nil {
return err
}
}
Expand Down Expand Up @@ -1232,7 +1233,8 @@ func (e *EverestServer) validateBackupScheduledUpdate(
// User should be able to read a backup storage to use it in a backup schedule.
for _, sched := range newSchedules {
if err := e.enforce(user, rbac.ResourceBackupStorages, rbac.ActionRead,
rbac.ObjectName(oldDB.GetNamespace(), sched.BackupStorageName)); err != nil {
rbac.ObjectName(oldDB.GetNamespace(), sched.BackupStorageName),
); err != nil {
return err
}
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/common/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ func RunStepsWithSpinner(
s.Start()
if err := step.F(ctx); err != nil {
s.Stop()
fmt.Fprint(out, output.Failure(step.Desc))
fmt.Fprint(out, output.Failure(step.Desc)) //nolint:govet
fmt.Fprint(out, "\t", err, "\n")
return err
}
s.Stop()
fmt.Fprint(out, output.Success(step.Desc))
fmt.Fprint(out, output.Success(step.Desc)) //nolint:govet
}
return nil
}
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/reviewdog/reviewdog v0.20.1
github.com/vburenin/ifacemaker v1.2.1
github.com/vektra/mockery/v2 v2.46.2
golang.org/x/tools v0.24.0
golang.org/x/tools v0.25.0
mvdan.cc/gofumpt v0.7.0
)

Expand Down
8 changes: 4 additions & 4 deletions tools/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE=
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo=
golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -866,8 +866,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE=
golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
Loading