Skip to content

Commit

Permalink
chore: lint (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
acud authored Sep 15, 2021
1 parent fb8a54a commit 471e819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/hive/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type metrics struct {
PingTime prometheus.Histogram
PingFailureTime prometheus.Histogram

PeerConnectAttempts prometheus.Counter
PeerConnectAttempts prometheus.Counter
PeerUnderlayErr prometheus.Counter
StorePeerErr prometheus.Counter
ReachablePeers prometheus.Counter
Expand Down Expand Up @@ -78,7 +78,7 @@ func newMetrics() metrics {
Subsystem: subsystem,
Name: "fail_ping_time",
Help: "The time spent for unsuccessful pings.",
}),
}),
PeerConnectAttempts: prometheus.NewCounter(prometheus.CounterOpts{
Namespace: m.Namespace,
Subsystem: subsystem,
Expand Down

0 comments on commit 471e819

Please sign in to comment.