diff options
Diffstat (limited to 'service/container.go')
-rw-r--r-- | service/container.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/container.go b/service/container.go index 56350be7..7c7633e7 100644 --- a/service/container.go +++ b/service/container.go @@ -95,7 +95,7 @@ func (c *container) Get(target string) (svc Service, status int) { return nil, StatusUndefined } -// Configure configures all underlying services with given configuration. +// Init configures all underlying services with given configuration. func (c *container) Configure(cfg Config) error { for _, e := range c.services { if e.getStatus() >= StatusConfigured { @@ -108,7 +108,7 @@ func (c *container) Configure(cfg Config) error { continue } - ok, err := e.svc.Configure(segment, c) + ok, err := e.svc.Init(segment, c) if err != nil { return errors.Wrap(err, fmt.Sprintf("[%s]", e.name)) } else if ok { |