sureshanaparti commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r2053545776
##########
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:
no need to check the feature enabled/disabled for listing leased instances
--
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]