Skip to content

Commit

Permalink
refactor: return error from new metric service
Browse files Browse the repository at this point in the history
  • Loading branch information
clD11 committed Dec 13, 2023
1 parent daaddf0 commit 3c80198
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion services/wallet/metric/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3c80198

Please sign in to comment.