We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb67bd commit 7ea6a67Copy full SHA for 7ea6a67
1 file changed
daemon/monitor.go
@@ -45,7 +45,9 @@ func (daemon *Daemon) StateChanged(id string, e libcontainerd.StateInfo) error {
45
defer daemon.autoRemove(c)
46
}
47
48
- daemon.updateHealthMonitor(c)
+ // cancel healthcheck here, they will be automatically
49
+ // restarted if/when the container is started again
50
+ daemon.stopHealthchecks(c)
51
attributes := map[string]string{
52
"exitCode": strconv.Itoa(int(e.ExitCode)),
53
0 commit comments