diff options
Diffstat (limited to 'service/metrics')
-rw-r--r-- | service/metrics/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/metrics/service.go b/service/metrics/service.go index 50b533f8..9d2a3dad 100644 --- a/service/metrics/service.go +++ b/service/metrics/service.go @@ -49,5 +49,5 @@ func (s *Service) Serve() error { // Stop prometheus metrics service. func (s *Service) Stop() { // gracefully stop server - s.http.Shutdown(context.Background()) + go s.http.Shutdown(context.Background()) } |