From c691f2b3e91c00d29201f06253b845f59e66959d Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 8 Jul 2018 21:51:46 -0700 Subject: more tests --- service/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/container.go') 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 { -- cgit v1.2.3