From 3c801988323f0fbb6402ce2f7f34e8f5053ed35c Mon Sep 17 00:00:00 2001 From: clD11 <23483715+clD11@users.noreply.github.com> Date: Wed, 13 Dec 2023 10:29:30 +0000 Subject: [PATCH] refactor: return error from new metric service --- services/wallet/metric/metric.go | 1 - 1 file changed, 1 deletion(-) diff --git a/services/wallet/metric/metric.go b/services/wallet/metric/metric.go index 25b486aa3..3c8790f10 100644 --- a/services/wallet/metric/metric.go +++ b/services/wallet/metric/metric.go @@ -16,7 +16,6 @@ type Metric struct { } // New returns a new metric.Metric. -// New panics if it cannot register any of the metrics. func New() (*Metric, error) { clzp := prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "count_link_zebpay",