weizhouapache commented on code in PR #11214:
URL: https://github.com/apache/cloudstack/pull/11214#discussion_r2212332372
##########
server/src/main/java/com/cloud/api/query/dao/TemplateJoinDaoImpl.java:
##########
@@ -578,10 +579,14 @@ public TemplateResponse newIsoResponse(TemplateJoinVO
iso, ResponseView view) {
isoResponse.setZoneName(iso.getDataCenterName());
}
- Long isoSize = iso.getSize();
+ long isoSize = iso.getSize();
Review Comment:
> iso.getSize() and iso.getPhysicalSize() both returns "long", should be
fine.
Thanks @sudo87
so, they are 0 if the iso is not Ready ?
--
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]