sudo87 commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r2057251816


##########
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:
##########
@@ -1330,6 +1331,11 @@ private Pair<List<Long>, Integer> 
searchForUserVMIdsAndCount(ListVMsCmd cmd) {
             }
         }
 
+        if (!VMLeaseManagerImpl.InstanceLeaseEnabled.value() && 
cmd.getOnlyLeasedInstances()) {

Review Comment:
   We would like to notify user that listing of leased instances will only work 
when feature is enabled.



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to