mirror of https://github.com/status-im/consul.git
agent: leave inSync until the defer runs
This commit is contained in:
parent
33a8beae1e
commit
8a0b86df10
|
@ -206,7 +206,7 @@ func (l *localState) UpdateCheck(checkID, status, output string) {
|
||||||
l.changeMade()
|
l.changeMade()
|
||||||
l.Unlock()
|
l.Unlock()
|
||||||
})
|
})
|
||||||
l.checkStatus[checkID] = syncStatus{deferSync: deferSync}
|
l.checkStatus[checkID] = syncStatus{inSync: true, deferSync: deferSync}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue