summaryrefslogtreecommitdiff
path: root/service/container.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-08 00:02:20 +0300
committerWolfy-J <[email protected]>2018-09-08 00:02:20 +0300
commit80ef824cabc1ab17c7c6584be85cb825be7a70af (patch)
tree67dd3bfe52a3f76d8136138c20c736583f34af2a /service/container.go
parentfc7f7f7ac17ef0838bbdfd578b4e17821b287aee (diff)
added support for logger in DI
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 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))
)