priyankparihar commented on a change in pull request #1894: CLOUDSTACK-9700 
Allow user to Register/Copy templates to multiple zones at the same time
URL: https://github.com/apache/cloudstack/pull/1894#discussion_r115657468
 
 

 ##########
 File path: 
api/src/org/apache/cloudstack/api/command/admin/template/RegisterTemplateCmdByAdmin.java
 ##########
 @@ -40,10 +40,23 @@
     @Override
     public void execute() throws ResourceAllocationException{
         try {
+            if ((zoneId != null) && (zoneIds != null && !zoneIds.isEmpty()))
 
 Review comment:
   ok
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to