agent: stop docker checks on shutdown
This commit is contained in:
parent
c8ae94b688
commit
8bcbb7b827
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue