From e0b06df8e2ff944385f2377ceab004cf6ee893af Mon Sep 17 00:00:00 2001 From: Vijayendra Bhamidipati Date: Thu, 9 Aug 2012 13:31:28 -0700 Subject: [PATCH] CS-14644: Errortext includes old ID, not UUID in CS3.0 Description: Removing dead IdentityProxy information passed during exception creation. --- api/src/com/cloud/api/commands/DeployVMCmd.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/src/com/cloud/api/commands/DeployVMCmd.java b/api/src/com/cloud/api/commands/DeployVMCmd.java index 5e67cbe09bb..bda94c58c59 100644 --- a/api/src/com/cloud/api/commands/DeployVMCmd.java +++ b/api/src/com/cloud/api/commands/DeployVMCmd.java @@ -370,9 +370,7 @@ public class DeployVMCmd extends BaseAsyncCreateCmd { VirtualMachineTemplate template = _templateService.getTemplate(templateId); // Make sure a valid template ID was specified if (template == null) { - List idList = new ArrayList(); - idList.add(new IdentityProxy("vm_template", templateId, "templateId")); - throw new InvalidParameterValueException("Unable to use template ", idList); + throw new InvalidParameterValueException("Template id supplied doesn't exist", null); } DiskOffering diskOffering = null;