File tree 1 file changed +0
-4
lines changed
token/core/common/metrics
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -249,15 +249,13 @@ func (m *mockCounter) With(labelValues ...string) metrics.Counter {
249
249
}
250
250
251
251
func (m * mockCounter ) Add (delta float64 ) {
252
- return
253
252
}
254
253
255
254
type mockGauge struct {
256
255
labelValues []string
257
256
}
258
257
259
258
func (m * mockGauge ) Set (value float64 ) {
260
- return
261
259
}
262
260
263
261
func (m * mockGauge ) With (labelValues ... string ) metrics.Gauge {
@@ -266,7 +264,6 @@ func (m *mockGauge) With(labelValues ...string) metrics.Gauge {
266
264
}
267
265
268
266
func (m * mockGauge ) Add (delta float64 ) {
269
- return
270
267
}
271
268
272
269
type mockHistogram struct {
@@ -279,5 +276,4 @@ func (m *mockHistogram) With(labelValues ...string) metrics.Histogram {
279
276
}
280
277
281
278
func (m * mockHistogram ) Observe (value float64 ) {
282
- return
283
279
}
You can’t perform that action at this time.
0 commit comments