bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request

status 9894: resolved fixed
This commit is contained in:
alena 2011-06-17 16:09:56 -07:00
parent cdaf4d1370
commit bb5eaf2f02

View File

@ -857,6 +857,7 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma
}
} else if ((account != null) && ((account.getType() == Account.ACCOUNT_TYPE_DOMAIN_ADMIN) || (account.getType() == Account.ACCOUNT_TYPE_RESOURCE_DOMAIN_ADMIN))) {
domainId = account.getDomainId();
isRecursive = true;
}
if (domainId != null && accountName != null) {