Skip to content

Commit

Permalink
Bump pubsub
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole Brown committed Apr 26, 2019
1 parent cddb713 commit 3ef0ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pd/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func enableMetrics() (*prometheus.Exporter, error) {
}
view.RegisterExporter(pe)

if err = psmetrics.Register(); err != nil {
if err = view.Register(psmetrics.Views...); err != nil {
return nil, err
}

Expand Down

0 comments on commit 3ef0ad3

Please sign in to comment.