Signed-off-by: allencloud <allen.sun@daocloud.io>
| ... | ... |
@@ -61,7 +61,7 @@ func (daemon *Daemon) killWithSignal(container *container.Container, sig int) er |
| 61 | 61 |
|
| 62 | 62 |
// We could unpause the container for them rather than returning this error |
| 63 | 63 |
if container.Paused {
|
| 64 |
- return fmt.Errorf("Container %s is paused. Unpause the container before stopping", container.ID)
|
|
| 64 |
+ return fmt.Errorf("Container %s is paused. Unpause the container before stopping or killing", container.ID)
|
|
| 65 | 65 |
} |
| 66 | 66 |
|
| 67 | 67 |
if !container.Running {
|