Skip to content

Commit c5a48cd

Browse files
committed
more fix
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 8c765e3 commit c5a48cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/schema/src/main/java/com/cloud/dc/dao/ClusterDaoImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ public List<String> listDistinctStorageAccessGroups(String name, String keyword)
382382
@Override
383383
public List<Long> listEnabledClusterIdsByZoneHypervisorArch(Long zoneId, HypervisorType hypervisorType, CPU.CPUArch arch) {
384384
GenericSearchBuilder<ClusterVO, Long> sb = createSearchBuilder(Long.class);
385+
sb.selectFields(sb.entity().getId());
385386
sb.and("zoneId", sb.entity().getDataCenterId(), SearchCriteria.Op.EQ);
386387
sb.and("allocationState", sb.entity().getAllocationState(), Op.EQ);
387388
sb.and("managedState", sb.entity().getManagedState(), Op.EQ);

0 commit comments

Comments
 (0)