diff options
Diffstat (limited to 'plugin/metrics/metrics.go')
-rw-r--r-- | plugin/metrics/metrics.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/metrics/metrics.go b/plugin/metrics/metrics.go index 89c948aa6..acf31c0a8 100644 --- a/plugin/metrics/metrics.go +++ b/plugin/metrics/metrics.go @@ -137,9 +137,7 @@ func (m *Metrics) stopServer() error { } // OnFinalShutdown tears down the metrics listener on shutdown and restart. -func (m *Metrics) OnFinalShutdown() error { - return m.stopServer() -} +func (m *Metrics) OnFinalShutdown() error { return m.stopServer() } func keys(m map[string]struct{}) []string { sx := []string{} |