AssignToLoadBalancer - added missing transaction.commit to corresponding NetworkManager method.

This commit is contained in:
alena 2010-11-19 19:14:24 -08:00
parent cec8ebd5cd
commit 6b61caad46

View File

@ -1354,6 +1354,7 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
EventUtils.saveEvent(UserContext.current().getUserId(), loadBalancer.getAccountId(), level, type, description);
}
txn.commit();
return true;
} else {
// Remove the instanceIds from the load balancer since there was a failure. Make sure to commit the