agent: stop docker checks on shutdown

This commit is contained in:
Frank Schroeder 2017-07-18 20:57:27 +02:00 committed by Frank Schröder
parent 60540c2417
commit 0d9b53730f
1 changed files with 3 additions and 0 deletions

View File

@ -1158,6 +1158,9 @@ func (a *Agent) ShutdownAgent() error {
for _, chk := range a.checkTCPs { for _, chk := range a.checkTCPs {
chk.Stop() chk.Stop()
} }
for _, chk := range a.checkDockers {
chk.Stop()
}
var err error var err error
if a.delegate != nil { if a.delegate != nil {