summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/container.go b/service/container.go
index f6fe24dc..742b4c3b 100644
--- a/service/container.go
+++ b/service/container.go
@@ -89,7 +89,7 @@ func NewContainer(log logrus.FieldLogger) Container {
}
}
-// Declare add new service to the container under given name.
+// Register add new service to the container under given name.
func (c *container) Register(name string, service interface{}) {
c.mu.Lock()
defer c.mu.Unlock()