diff options
Diffstat (limited to 'service/http/service.go')
-rw-r--r-- | service/http/service.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/http/service.go b/service/http/service.go index dd3888d0..1823df53 100644 --- a/service/http/service.go +++ b/service/http/service.go @@ -40,6 +40,7 @@ func (s *Service) AddListener(l func(event int, ctx interface{})) { // misconfiguration. Services must not be used without proper configuration pushed first. func (s *Service) Init(cfg service.Config, c service.Container) (bool, error) { config := &Config{} + if err := cfg.Unmarshal(config); err != nil { return false, err } |