cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syed <...@git.apache.org>
Subject [GitHub] cloudstack pull request: [CLOUDSTACK-8973] Fix create template fro...
Date Wed, 02 Mar 2016 17:53:48 GMT
Github user syed commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1424#discussion_r54762197
  
    --- Diff: server/src/com/cloud/api/ApiResponseHelper.java ---
    @@ -1388,7 +1388,7 @@ public TemplateResponse createTemplateUpdateResponse(ResponseView
view, VirtualM
         @Override
         public List<TemplateResponse> createTemplateResponses(ResponseView view, VirtualMachineTemplate
result, Long zoneId, boolean readyOnly) {
             List<TemplateJoinVO> tvo = null;
    -        if (zoneId == null || zoneId == -1) {
    +        if (zoneId == null || zoneId == -1 || result.isCrossZones()) {
    --- End diff --
    
    Sure, Added tests now. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message