diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/metrics/plugin.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/metrics/plugin.go b/plugins/metrics/plugin.go index 651a2475..efcbfc50 100644 --- a/plugins/metrics/plugin.go +++ b/plugins/metrics/plugin.go @@ -75,8 +75,7 @@ func (m *Plugin) Init(cfg config.Configurer, log logger.Logger) error { } // Register new prometheus collector. -func (m *Plugin) Register(c -) error { +func (m *Plugin) Register(c prometheus.Collector) error { return m.registry.Register(c) } |