Skip to content

Commit cc895c4

Browse files
committed
golangci-lint: v1.60.1
Signed-off-by: Akihiro Suda <[email protected]>
1 parent f58f5e9 commit cc895c4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run golangci-lint
3939
uses: golangci/[email protected]
4040
with:
41-
version: v1.59.1
41+
version: v1.60.1
4242
args: --verbose --timeout=10m
4343
- name: Run yamllint
4444
run: yamllint .

pkg/instance/start.go

+1
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ type watchHostAgentEventsTimeoutKey = struct{}
327327
// WithWatchHostAgentTimeout sets the value of the timeout to use for
328328
// watchHostAgentEvents in the given Context.
329329
func WithWatchHostAgentTimeout(ctx context.Context, timeout time.Duration) context.Context {
330+
//nolint:staticcheck // SA1029: should not use empty anonymous struct as key for value; define your own type to avoid collisions (staticcheck)
330331
return context.WithValue(ctx, watchHostAgentEventsTimeoutKey{}, timeout)
331332
}
332333

0 commit comments

Comments
 (0)