Skip to content

Commit

Permalink
lower golangci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmolina95 committed Sep 10, 2024
1 parent 68947f9 commit cfd25e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion backend/module/audit/audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func TestGetEvents(t *testing.T) {

for _, test := range testCases {
test := test
t.Run(fmt.Sprintf(test.id), func(t *testing.T) {
t.Run(test.id, func(t *testing.T) {
t.Parallel()
m := &mod{
client: auditmock.New(),
Expand Down
2 changes: 1 addition & 1 deletion backend/module/feedback/feedback.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (m *mod) GetSurveys(tx context.Context, req *feedbackv1.GetSurveysRequest)
zap.Any("request origins", req.Origins),
zap.Any("config origins", m.surveyMap.surveys),
)
return nil, status.Errorf(codes.InvalidArgument, msg)
return nil, status.Errorf(codes.InvalidArgument, "%s", msg)
}

return &feedbackv1.GetSurveysResponse{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func awaitGaugeValue(ctx context.Context, t *testing.T, testScope tally.TestScop
return
}
case <-ctx.Done():
t.Errorf(context.Canceled.Error())
t.Errorf("%s", context.Canceled.Error())
return
}
}
Expand Down
6 changes: 3 additions & 3 deletions tools/golangci-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ BUILD_ROOT="${REPO_ROOT}/build"
BUILD_BIN="${BUILD_ROOT}/bin"

NAME=golangci-lint
RELEASE=v1.61.0
OSX_RELEASE_256=5c280ef3284f80c54fd90d73dc39ca276953949da1db03eb9dd0fbf868cc6e55
LINUX_RELEASE_256=77cb0af99379d9a21d5dc8c38364d060e864a01bd2f3e30b5e8cc550c3a54111
RELEASE=v1.60.1
OSX_RELEASE_256=a0ec2235b5cc7aad6e1ee009efd5bec7c16bf2f01246c6ccb1df5c37bb2f5cd4
LINUX_RELEASE_256=06a803675ec83944d8c9e5a8dfa32845270cc447e7ebe0173c4b8ba7e205c9da

ARCH=amd64

Expand Down

0 comments on commit cfd25e6

Please sign in to comment.