mirror of https://github.com/apache/cloudstack.git
Revert "bug 11804: Only root admins have a relaxed resource limit now"
This reverts commit 5415bd881b4a5b1b81937171fe494509b5e1619e.
This commit is contained in:
parent
d1047625e4
commit
5e44458ec1
|
|
@ -353,8 +353,8 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag
|
|||
public boolean resourceLimitExceeded(Account account, ResourceType type, long... count) {
|
||||
long numResources = ((count.length == 0) ? 1 : count[0]);
|
||||
|
||||
// Don't place any limits on system or admin accounts for ROOT domain only
|
||||
if (isAdmin(account.getType()) && account.getDomainId() == 1) {
|
||||
// Don't place any limits on system or admin accounts
|
||||
if (isAdmin(account.getType())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue