summaryrefslogtreecommitdiff
path: root/service/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/container.go')
-rw-r--r--service/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/container.go b/service/container.go
index 7eff4551..96f2d546 100644
--- a/service/container.go
+++ b/service/container.go
@@ -216,7 +216,7 @@ func (c *container) initService(s interface{}, segment Config) (bool, error) {
m, ok := r.MethodByName("Init")
if !ok {
// no Init method is presented, assuming service does not need initialization.
- return false, nil
+ return true, nil
}
if err := c.verifySignature(m); err != nil {