sureshanaparti commented on code in PR #12877:
URL: https://github.com/apache/cloudstack/pull/12877#discussion_r3085383687


##########
server/src/main/java/com/cloud/template/HypervisorTemplateAdapter.java:
##########
@@ -307,17 +310,19 @@ protected List<DataStore> 
getImageStoresThrowsExceptionIfNotFound(long zoneId, T
         return imageStores;
     }
 
-    protected void standardImageStoreAllocation(List<DataStore> imageStores, 
VMTemplateVO template) {
-        Set<Long> zoneSet = new HashSet<Long>();
+    protected void standardImageStoreAllocation(List<DataStore> imageStores, 
VMTemplateVO template, long zoneId) {
+        int replicaLimit = isPrivateTemplate(template)

Review Comment:
   ```suggestion
           int copyLimit = isPrivateTemplate(template)
   ```



-- 
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]

Reply via email to