mirror of https://github.com/apache/cloudstack.git
RegisterTemplateCommand - ignore case in "hypervisor" parameter value - used to complain when "xen" was specified instead of "Xen"
This commit is contained in:
parent
acbb26a746
commit
e1b74ea99e
|
|
@ -265,7 +265,7 @@ public class TemplateManagerImpl implements TemplateManager {
|
|||
String format = cmd.getFormat();
|
||||
Long guestOSId = cmd.getOsTypeId();
|
||||
Long zoneId = cmd.getZoneId();
|
||||
HypervisorType hypervisorType = HypervisorType.valueOf(cmd.getHypervisor());
|
||||
HypervisorType hypervisorType = HypervisorType.getType(cmd.getHypervisor());
|
||||
String accountName = cmd.getAccountName();
|
||||
Long domainId = cmd.getDomainId();
|
||||
Account resourceAccount = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue