Revert "bug 11680: Fix to the listing of routers when the networkid is invalid."

This reverts commit 6d5c46c4b0c6c8782923630947000348590d14f8.
This commit is contained in:
Naredula Janardhana Reddy 2011-11-03 15:48:04 +05:30
parent c1eaef18c1
commit 34d3679695
1 changed files with 0 additions and 4 deletions

View File

@ -1374,10 +1374,6 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
if (nics != null) {
for (Nic nic : nics) {
NetworkVO network = _networksDao.findById(nic.getNetworkId());
if (network == null) {
s_logger.warn("getNicProfiles : Skipping Network beacuse of Null");
continue;
}
Integer networkRate = getNetworkRate(network.getId(), vm.getId());
NetworkGuru guru = _networkGurus.get(network.getGuruName());