agent: leave inSync until the defer runs
This commit is contained in:
parent
2568918055
commit
bc9ea2af9a
|
@ -206,7 +206,7 @@ func (l *localState) UpdateCheck(checkID, status, output string) {
|
|||
l.changeMade()
|
||||
l.Unlock()
|
||||
})
|
||||
l.checkStatus[checkID] = syncStatus{deferSync: deferSync}
|
||||
l.checkStatus[checkID] = syncStatus{inSync: true, deferSync: deferSync}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue