agent: fix anti-entropy check sync

pull/850/head
Ryan Uber 10 years ago
parent f417279761
commit 7e170b047e

@ -340,10 +340,14 @@ func (l *localState) setSyncState() error {
for id, _ := range l.checks {
// Sync any check which doesn't exist on the remote side
found := false
for _, check := range checks {
if check.CheckID == id {
continue
found = true
break
}
}
if !found {
l.checkStatus[id] = syncStatus{inSync: false}
}
}

Loading…
Cancel
Save