mirror of
https://github.com/ctripcorp/zeus.git
synced 2024-09-22 00:26:05 +08:00
upgrade can be done several times
This commit is contained in:
parent
229a907024
commit
00f86926bb
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue