remove unused now field

This commit is contained in:
Not Rob Pike 2024-03-12 10:56:43 -07:00
parent afd6f33dcd
commit 9f18e2fc42
1 changed files with 0 additions and 3 deletions

View File

@ -92,9 +92,6 @@ type Opts struct {
// machine_role metric). See also // machine_role metric). See also
// https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels
ConstLabels Labels ConstLabels Labels
// now is for testing purposes, by default it's time.Now.
now func() time.Time
} }
// BuildFQName joins the given three name components by "_". Empty name // BuildFQName joins the given three name components by "_". Empty name