File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 3838 - name : Run golangci-lint
3939 uses : golangci/golangci-lint-action@v6.1.0
4040 with :
41- version : v1.59 .1
41+ version : v1.60 .1
4242 args : --verbose --timeout=10m
4343 - name : Run yamllint
4444 run : yamllint .
Original file line number Diff line number Diff 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.
329329func 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
You can’t perform that action at this time.
0 commit comments