upgrade can be done several times

This commit is contained in:
Mengyi Zhou 2015-09-30 15:12:05 +08:00
parent 229a907024
commit 00f86926bb
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ public class GroupEntityManager implements GroupSync {
List<Long> fails = new ArrayList<>();
for (Group group : groups) {
try {
relSyncVs(group, true);
relSyncVs(group, false);
} catch (Exception ex) {
fails.add(group.getId());
}

View file

@ -77,7 +77,7 @@ public class SlbEntityManager implements SlbSync {
List<Long> fails = new ArrayList<>();
for (Slb slb : slbs) {
try {
relSyncSlbServer(slb, true);
relSyncSlbServer(slb, false);
} catch (Exception ex) {
fails.add(slb.getId());
}