Someone commited a change in ConsoleProxyManagerImpl that breaks down system VM, let's blame git for now on this

This commit is contained in:
Kelven Yang 2010-11-24 14:44:47 -08:00
parent a241a3fe54
commit fd1beef28b

View File

@ -901,7 +901,7 @@ public class ConsoleProxyManagerImpl implements ConsoleProxyManager, ConsoleProx
}
ConsoleProxyVO proxy = _consoleProxyDao.findById(proxyVmId);
//allocProxyStorage(dataCenterId, proxyVmId);
allocProxyStorage(dataCenterId, proxyVmId);
if (proxy != null) {
SubscriptionMgr.getInstance().notifySubscribers(ConsoleProxyManager.ALERT_SUBJECT, this,
new ConsoleProxyAlertEventArgs(ConsoleProxyAlertEventArgs.PROXY_CREATED, dataCenterId, proxy.getId(), proxy, null));
@ -941,7 +941,7 @@ public class ConsoleProxyManagerImpl implements ConsoleProxyManager, ConsoleProx
}
ConsoleProxyVO proxy = _consoleProxyDao.findById(proxyVmId);
//allocProxyStorage(dataCenterId, proxyVmId);
allocProxyStorage(dataCenterId, proxyVmId);
if (proxy != null) {
SubscriptionMgr.getInstance().notifySubscribers(ConsoleProxyManager.ALERT_SUBJECT, this,
new ConsoleProxyAlertEventArgs(ConsoleProxyAlertEventArgs.PROXY_CREATED, dataCenterId, proxy.getId(), proxy, null));