File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
staging/src/k8s.io/component-base/metrics/prometheus/slis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ type SLIMetrics struct{}
38
38
func (s SLIMetrics ) Install (m mux ) {
39
39
installOnce .Do (func () {
40
40
Register (Registry )
41
- m .Handle ("/metrics/slis" , metrics .HandlerFor (Registry , metrics.HandlerOpts {}))
42
41
})
42
+ m .Handle ("/metrics/slis" , metrics .HandlerFor (Registry , metrics.HandlerOpts {}))
43
43
}
44
44
45
45
type SLIMetricsWithReset struct {}
@@ -48,6 +48,6 @@ type SLIMetricsWithReset struct{}
48
48
func (s SLIMetricsWithReset ) Install (m mux ) {
49
49
installWithResetOnce .Do (func () {
50
50
Register (Registry )
51
- m .Handle ("/metrics/slis" , metrics .HandlerWithReset (Registry , metrics.HandlerOpts {}))
52
51
})
52
+ m .Handle ("/metrics/slis" , metrics .HandlerWithReset (Registry , metrics.HandlerOpts {}))
53
53
}
You can’t perform that action at this time.
0 commit comments