bug(host): Fix sync job failure blocking other set syncs (#1841)
During the plugin_host_set_sync job, a single set failing to sync can cause all following syncs to fail.
This commit is contained in:
1 parent
2f7b4e5451
commit
aaaf0241ff
4 files changed
+43
-59
No files matched your search
@@ -303,7 +303,7 @@ func TestUtilFunctions(t *testing.T) {
|
||||
// Run through the sets function
|
||||
{
|
||||
newHostMap[baseHostId].h.SetIds = tt.sets()
|
||||
toAdd, toRemove, _ := getSetChanges(currentHostMap, newHostMap)
|
||||
toAdd, toRemove := getSetChanges(currentHostMap, newHostMap)
|
||||
assert.Equal(tt.setsToAdd, toAdd)
|
||||
assert.Equal(tt.setsToRemove, toRemove)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user