1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-23 17:53:05 +02:00

service.Run: simplify return statement

This commit is contained in:
Shulhan 2018-03-13 17:40:13 +07:00
parent a3741f8a11
commit e769802939

View File

@ -165,9 +165,5 @@ func (s *service) Run() error {
// exit reg loop
close(ex)
if err := s.Stop(); err != nil {
return err
}
return nil
return s.Stop()
}