agent: leave inSync until the defer runs

This commit is contained in:
Armon Dadgar 2014-06-09 12:57:50 -07:00
parent 2568918055
commit bc9ea2af9a

View file

@ -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
}