summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
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
}