bug 12446: fix typo

status 12446: resolved fixed
This commit is contained in:
Edison Su 2011-12-14 16:51:10 -08:00
parent 6ec28391a1
commit 49fb9049fb
1 changed files with 1 additions and 1 deletions

View File

@ -2928,7 +2928,7 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
if (account == null) {
throw new InvalidParameterValueException("Unable to find account " + accountName + " in domain " + domainId);
}
permittedAccounts.add(caller.getId());
permittedAccounts.add(account.getId());
}
if (caller.getType() == Account.ACCOUNT_TYPE_DOMAIN_ADMIN || caller.getType() == Account.ACCOUNT_TYPE_RESOURCE_DOMAIN_ADMIN) {