| ... | ... |
@@ -579,7 +579,7 @@ func (container *Container) Stop() error {
|
| 579 | 579 |
// 2. Wait for the process to exit on its own |
| 580 | 580 |
if err := container.WaitTimeout(10 * time.Second); err != nil {
|
| 581 | 581 |
log.Printf("Container %v failed to exit within 10 seconds of SIGTERM - using the force", container.Id)
|
| 582 |
- if err := container.Kill(); err != nil {
|
|
| 582 |
+ if err := container.kill(); err != nil {
|
|
| 583 | 583 |
return err |
| 584 | 584 |
} |
| 585 | 585 |
} |