diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-26 12:49:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-26 11:42:18 +0000 |
| commit | 2a444fae4fd848ad3bd2c0a3eb13fdad8280fd30 (patch) | |
| tree | 3a6f4ce7eb04261c85d0af3348d0c6849ca15298 /docs/headerparser_usage.md | |
| parent | 968cb91346aa85e5ddbc7080d80cfe84975329f5 (diff) | |
dashboard/app: fix bad use of context values
Linter warns:
dashboard/app/util_test.go:680:47: SA1029: should not use built-in type string
as key for value; define your own type to avoid collisions
newContext := context.WithValue(r.Context(), requestIDKey, requestNum)
^
Diffstat (limited to 'docs/headerparser_usage.md')
0 files changed, 0 insertions, 0 deletions
