agent: leave inSync until the defer runs

This commit is contained in:
Armon Dadgar 2014-06-09 12:57:50 -07:00
parent 33a8beae1e
commit 8a0b86df10
1 changed files with 1 additions and 1 deletions

View File

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