DaanHoogland commented on PR #11640: URL: https://github.com/apache/cloudstack/pull/11640#issuecomment-3668917371
> Hi @DaanHoogland and @nvazquez i think there is a issue with this line > > https://github.com/apache/cloudstack/blob/10d76d3384af1cf45639a3b62062008a9f8721e3/server/src/main/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImpl.java#L1553 > > I think should be KVM_VM_IMPORT_DEFAULT_TEMPLATE_NAME > > Let me know if i need to open a issue and PR You can open a PR and we can test it, but on first glance I do not think the wrong constant is being used. maybe a construct like `String templateName = (Hypervisor.HypervisorType.KVM == hypervisorType) ? KVM_VM_IMPORT_DEFAULT_TEMPLATE_NAME : VM_IMPORT_DEFAULT_TEMPLATE_NAME;` can be used. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
