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 c8ae94b688
commit 8bcbb7b827
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 {
chk.Stop()
}
for _, chk := range a.checkDockers {
chk.Stop()
}
var err error
if a.delegate != nil {