CLOUDSTACK-7964: listAccounts API is not listing correct value of resource limits.

This commit is contained in:
Sanjay Tripathi 2014-11-24 13:37:18 +05:30
parent c615aafd77
commit d475b62838
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class AccountJoinDaoImpl extends GenericDaoBase<AccountJoinVO, Long> impl
accountResponse.setBytesReceived(account.getBytesReceived());
accountResponse.setBytesSent(account.getBytesSent());
boolean fullView = (view == ResponseView.Full);
boolean fullView = (view == ResponseView.Full && _acctMgr.isRootAdmin(account.getId()));
setResourceLimits(account, fullView, accountResponse);
//get resource limits for projects