summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 22:09:07 +0300
committerWolfy-J <[email protected]>2018-06-13 22:09:07 +0300
commit426d0034ea8c07b9303b82275934c35db77398ed (patch)
tree74a6773fc187bbdb536ce8e84585bd9112692a82 /service
parentcd86c55f8031b585744d7798979543aeea26d022 (diff)
middleware
Diffstat (limited to 'service')
-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.