Skip to content

Commit f4b0e1d

Browse files
committed
Add unit tests for listHostsForMigration
1 parent d53b6db commit f4b0e1d

File tree

2 files changed

+1560
-4
lines changed

2 files changed

+1560
-4
lines changed

server/src/main/java/com/cloud/server/ManagementServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1923,7 +1923,7 @@ private List<StoragePool> findAllSuitableStoragePoolsForDetachedVolume(Volume vo
19231923
return suitablePools;
19241924
}
19251925

1926-
private Pair<List<HostVO>, Integer> searchForServers(final Long startIndex, final Long pageSize, final Object name, final Object type,
1926+
Pair<List<HostVO>, Integer> searchForServers(final Long startIndex, final Long pageSize, final Object name, final Object type,
19271927
final Object state, final Object zone, final Object pod, final Object cluster, final Object id, final Object keyword,
19281928
final Object resourceState, final Object haHosts, final Object hypervisorType, final Object hypervisorVersion, final Object... excludes) {
19291929
final Filter searchFilter = new Filter(HostVO.class, "id", Boolean.TRUE, startIndex, pageSize);

0 commit comments

Comments
 (0)