summaryrefslogtreecommitdiff
path: root/service/container.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-08 21:51:46 -0700
committerWolfy-J <[email protected]>2018-07-08 21:51:46 -0700
commitc691f2b3e91c00d29201f06253b845f59e66959d (patch)
treea6dd94125619c214ab2fa4b39ed2060f5e75378e /service/container.go
parent74a9664f7df21ef26d0718aa2f8239a0562566c6 (diff)
more tests
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 {