mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
observation.TestContextTB is better to use since your logs will be scoped to your test and it will use a more pedantic prometheus registry. To be honest TestContext should be removed but this is the first step. This is a mechanical change. I replaced "&observation.TestContext" with "observation.TestContextTB(t)". I then undid the change each time it caused a compilation error (was only a handful of times). Test Plan: go test |
||
|---|---|---|
| .. | ||
| store | ||
| types | ||
| util | ||
| BUILD.bazel | ||
| CODENOTIFY | ||
| store.go | ||