We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8961609 commit 614377cCopy full SHA for 614377c
prometheus/promauto/auto_test.go
@@ -22,8 +22,6 @@ import (
22
func TestWrapNil(t *testing.T) {
23
// A nil registerer should be treated as a no-op by promauto, even when wrapped.
24
registerer := prometheus.WrapRegistererWith(prometheus.Labels{"foo": "bar"}, nil)
25
- c := With(registerer).NewCounter(prometheus.CounterOpts{
26
- Name: "test",
27
- })
+ c := With(registerer).NewCounter(prometheus.CounterOpts{Name: "test"})
28
c.Inc()
29
}
0 commit comments