mirror of https://github.com/apache/cloudstack.git
CS-14644: Errortext includes old ID, not UUID in CS3.0
Description: Removing dead IdentityProxy information passed during exception creation.
This commit is contained in:
parent
ce23f29e25
commit
e0b06df8e2
|
|
@ -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<IdentityProxy> idList = new ArrayList<IdentityProxy>();
|
||||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue