bug 7892: ensuring backward compatibility for list and create cmds

status 7892: resolved fixed
This commit is contained in:
abhishek 2011-01-24 09:56:08 -08:00
parent f7088e534c
commit 1ff8d98d4c
1 changed files with 1 additions and 0 deletions

View File

@ -310,6 +310,7 @@ public class ApiResponseHelper implements ResponseGenerator {
accountResponse.setVmRunning(vmRunning);
accountResponse.setObjectName("account");
//adding all the users for an account as part of the response obj
List<UserVO> usersForAccount = ApiDBUtils.listUsersByAccount(account.getAccountId());
List<UserResponse> userResponseList = new ArrayList<UserResponse>();
for(UserVO user : usersForAccount) {