diff options
author | Wolfy-J <[email protected]> | 2018-06-13 22:09:07 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-13 22:09:07 +0300 |
commit | 426d0034ea8c07b9303b82275934c35db77398ed (patch) | |
tree | 74a6773fc187bbdb536ce8e84585bd9112692a82 | |
parent | cd86c55f8031b585744d7798979543aeea26d022 (diff) |
middleware
-rw-r--r-- | service/http/service.go | 6 |
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. |