mirror of https://github.com/status-im/consul.git
agent: stop docker checks on shutdown
This commit is contained in:
parent
60540c2417
commit
0d9b53730f
|
@ -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