weizhouapache commented on code in PR #8389:
URL: https://github.com/apache/cloudstack/pull/8389#discussion_r1480375575
##########
server/src/main/java/com/cloud/template/HypervisorTemplateAdapter.java:
##########
@@ -234,7 +234,7 @@ public TemplateProfile prepare(GetUploadParamsForIsoCmd
cmd) throws ResourceAllo
public TemplateProfile prepare(RegisterTemplateCmd cmd) throws
ResourceAllocationException {
TemplateProfile profile = super.prepare(cmd);
String url = profile.getUrl();
- UriUtils.validateUrl(cmd.getFormat(), url, cmd.isDirectDownload());
+ UriUtils.validateUrl(cmd.getFormat(), url);
Review Comment:
with this change, template registration from IPv6 server will be possible
need testing
--
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]