diff options
author | Wolfy-J <[email protected]> | 2018-09-08 00:02:20 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-08 00:02:20 +0300 |
commit | 80ef824cabc1ab17c7c6584be85cb825be7a70af (patch) | |
tree | 67dd3bfe52a3f76d8136138c20c736583f34af2a /service/container.go | |
parent | fc7f7f7ac17ef0838bbdfd578b4e17821b287aee (diff) |
added support for logger in DI
Diffstat (limited to 'service/container.go')
-rw-r--r-- | service/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/container.go b/service/container.go index 1716b965..861e1aac 100644 --- a/service/container.go +++ b/service/container.go @@ -152,7 +152,7 @@ func (c *container) Init(cfg Config) error { // Serve all configured services. Non blocking. func (c *container) Serve() error { var ( - numServing int + numServing = 0 done = make(chan interface{}, len(c.services)) ) |