mirror of https://github.com/hashicorp/consul
agent: stop docker checks on shutdown
parent
60540c2417
commit
0d9b53730f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue