Pearl1594 commented on code in PR #9546:
URL: https://github.com/apache/cloudstack/pull/9546#discussion_r1723485912
##########
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:
##########
@@ -3547,6 +3547,8 @@ private Ternary<List<Long>, Integer, String[]>
searchForDiskOfferingsIdsAndCount
if (state != null) {
sc.setParameters("state", state);
+ } else {
+ sc.setParameters("state",
Arrays.asList(ServiceOffering.State.Active, ServiceOffering.State.Inactive));
Review Comment:
in case we don't specify what offering is required , this would list
offerings in both active and inactive states
--
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]