summaryrefslogtreecommitdiff
path: root/service/container.go
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/container.go
parent62250fde949d2511b1e030c570bafe2ef3ed2c2d (diff)
added pool watcher capability
Diffstat (limited to 'service/container.go')
-rw-r--r--service/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/container.go b/service/container.go
index 275cfffd..6aa99614 100644
--- a/service/container.go
+++ b/service/container.go
@@ -22,7 +22,7 @@ type Service interface {
// Serve serves.
Serve() error
- // Stop stops the service.
+ // Detach stops the service.
Stop()
}
@@ -198,7 +198,7 @@ func (c *container) Serve() error {
return nil
}
-// Stop sends stop command to all running services.
+// Detach sends stop command to all running services.
func (c *container) Stop() {
for _, e := range c.services {
if e.hasStatus(StatusServing) {