diff options
author | Wolfy-J <[email protected]> | 2018-09-23 15:00:51 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-23 15:00:51 +0300 |
commit | 46c53d51cd8edd4e934c47f49f806758f4ccad63 (patch) | |
tree | 5e04c41ebb1b8eba5713c992c3d4866e8fb959fb /service/http/service.go | |
parent | 19d88fc879ba403347726138eb532fb85d38168e (diff) |
default configs
Diffstat (limited to 'service/http/service.go')
-rw-r--r-- | service/http/service.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/service/http/service.go b/service/http/service.go index 6bf6e33f..679a6cd9 100644 --- a/service/http/service.go +++ b/service/http/service.go @@ -48,10 +48,6 @@ func (s *Service) AddListener(l func(event int, ctx interface{})) { // Init must return configure svc and return true if svc hasStatus enabled. Must return error in case of // misconfiguration. Services must not be used without proper configuration pushed first. func (s *Service) Init(cfg *Config, r *rpc.Service, e env.Environment) (bool, error) { - if !cfg.Enable { - return false, nil - } - s.cfg = cfg s.env = e if r != nil { |