Skip to content

Commit 83e870e

Browse files
committed
linting fix
Signed-off-by: Angelo De Caro <[email protected]>
1 parent 2e11fd9 commit 83e870e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: token/core/common/metrics/provider_test.go

-4
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,13 @@ func (m *mockCounter) With(labelValues ...string) metrics.Counter {
249249
}
250250

251251
func (m *mockCounter) Add(delta float64) {
252-
return
253252
}
254253

255254
type mockGauge struct {
256255
labelValues []string
257256
}
258257

259258
func (m *mockGauge) Set(value float64) {
260-
return
261259
}
262260

263261
func (m *mockGauge) With(labelValues ...string) metrics.Gauge {
@@ -266,7 +264,6 @@ func (m *mockGauge) With(labelValues ...string) metrics.Gauge {
266264
}
267265

268266
func (m *mockGauge) Add(delta float64) {
269-
return
270267
}
271268

272269
type mockHistogram struct {
@@ -279,5 +276,4 @@ func (m *mockHistogram) With(labelValues ...string) metrics.Histogram {
279276
}
280277

281278
func (m *mockHistogram) Observe(value float64) {
282-
return
283279
}

0 commit comments

Comments
 (0)