mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
10b27dfb84
Instead of passing in a `ScratchBuilder` and `Labels`, just pass the builder and the caller can extract labels from it. In many cases the caller didn't use the Labels value anyway. Now in `Labels.ScratchBuilder` we need a slightly different API: one to assign what will be the result, instead of overwriting some other `Labels`. This is safer and easier to reason about. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
archive.go | ||
backfill.go | ||
backfill_test.go | ||
debug.go | ||
main.go | ||
main_test.go | ||
rules.go | ||
rules_test.go | ||
sd.go | ||
sd_test.go | ||
tsdb.go | ||
unittest.go | ||
unittest_test.go |