Add triger next on VirtualRouterCleanupVipOnDestroyFlow
@@ -60,7 +60,12 @@ public class VirtualRouterCleanupVipOnDestroyFlow extends NoRollbackFlow {
q.add(VirtualRouterVipVO_.virtualRouterVmUuid, Op.EQ, vrUuid);
List<VirtualRouterVipVO> refs = q.list();
List<VipVO> vips = new ArrayList<VipVO>();
- if (!refs.isEmpty()) {
+
+ if (refs.isEmpty()) {
+ trigger.next();
+ return;
+ }
+
Iterator<VirtualRouterVipVO> it = refs.iterator();
while (it.hasNext()){
VirtualRouterVipVO vvipVO = it.next();
@@ -90,4 +95,3 @@ public class VirtualRouterCleanupVipOnDestroyFlow extends NoRollbackFlow {
}
}
}
-}
