summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-05 22:48:27 +0300
committerWolfy-J <[email protected]>2018-06-05 22:48:27 +0300
commit6adaf713b47c9a3ab3a516e21d2d4ecf7f2075d6 (patch)
tree6bcf1bfea1e2f87a3ae7065612c0df43c90c1cdc /service
parent3112f9b58c73773cea972fd79f04d33f8f7d7edd (diff)
breaking the tests
Diffstat (limited to 'service')
-rw-r--r--service/registry.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/registry.go b/service/registry.go
index d4e2ff12..659ece8b 100644
--- a/service/registry.go
+++ b/service/registry.go
@@ -34,7 +34,7 @@ type Registry interface {
// Serve all configured services. Non blocking.
Serve() error
- // Stop all active services.
+ // Close all active services.
Stop() error
}
@@ -47,7 +47,7 @@ type Service interface {
// Serve serves Service.
Serve() error
- // Stop stop Service Service.
+ // Close stop Service Service.
Stop() error
}
@@ -156,7 +156,7 @@ func (r *registry) Serve() error {
return nil
}
-// Stop all active services.
+// Close all active services.
func (r *registry) Stop() error {
return nil
}