summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/http/service.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/service/http/service.go b/service/http/service.go
index 2b30cd1c..dd3888d0 100644
--- a/service/http/service.go
+++ b/service/http/service.go
@@ -88,11 +88,7 @@ func (s *Service) Serve() error {
}
defer s.rr.Stop()
- if err := s.http.ListenAndServe(); err != nil {
- return err
- }
-
- return nil
+ return s.http.ListenAndServe()
}
// Stop stops the svc.