summaryrefslogtreecommitdiff
path: root/service/rpc
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-03 12:28:11 +0300
committerWolfy-J <[email protected]>2019-05-03 12:28:11 +0300
commit9b886ceab6a63e8264f2b2c9d35d76628085dbd6 (patch)
tree5671b75b1e8f04900b54462f6e647a52e0ff6d8b /service/rpc
parent62250fde949d2511b1e030c570bafe2ef3ed2c2d (diff)
added pool watcher capability
Diffstat (limited to 'service/rpc')
-rw-r--r--service/rpc/service.go2
-rw-r--r--service/rpc/system.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/rpc/service.go b/service/rpc/service.go
index eba74c2d..066124a2 100644
--- a/service/rpc/service.go
+++ b/service/rpc/service.go
@@ -83,7 +83,7 @@ func (s *Service) Serve() error {
return nil
}
-// Stop stops the service.
+// Detach stops the service.
func (s *Service) Stop() {
s.mu.Lock()
defer s.mu.Unlock()
diff --git a/service/rpc/system.go b/service/rpc/system.go
index 778250ad..d1368a05 100644
--- a/service/rpc/system.go
+++ b/service/rpc/system.go
@@ -7,7 +7,7 @@ type systemService struct {
c service.Container
}
-// Stop the underlying c.
+// Detach the underlying c.
func (s *systemService) Stop(stop bool, r *string) error {
if stop {
s.c.Stop()