Don't default isShared to false for listNetworks api command.

This commit is contained in:
alena 2011-01-07 17:39:00 -08:00
parent 5dc7307428
commit b8a17f4a97

View File

@ -1431,10 +1431,6 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
isSystem = false;
}
if (isShared == null) {
isShared = false;
}
//Account/domainId parameters and isSystem are mutually exclusive
if (isSystem && (accountName != null || domainId != null)) {
throw new InvalidParameterValueException("System network belongs to system, account and domainId parameters can't be specified");