CLOUDSTACK-4998 additional bug fixed

This commit is contained in:
Sebastien Goasguen 2013-11-08 03:49:36 -05:00
parent b18e730108
commit 0f0889ae2d
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class AssignVMCmd extends BaseCmd {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to move vm");
}
UserVmResponse response = _responseGenerator.createUserVmResponse("virtualmachine", userVm).get(0);
response.setResponseName(DeployVMCmd.getResultObjectName());
response.setResponseName(getCommandName());
this.setResponseObject(response);
}catch (Exception e){
e.printStackTrace();