CLOUDSTACK-4998 additional bug fixed

This commit is contained in:
Sebastien Goasguen 2013-11-08 03:49:36 -05:00
parent 810bfa90e2
commit b36ed1289a

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();