Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ public interface EndPointSelector {

EndPoint select(DataStore store, String downloadUrl);

EndPoint findSsvm(long dcId);
EndPoint findSsvm(Long dcId);
}
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ protected EndPoint findEndpointForImageStorage(DataStore store) {
* Finds an SSVM that can be used to execute a command.
* For zone-wide image store, use SSVM for that zone. For region-wide store, we can arbitrarily pick one SSVM to do the task.
* */
public EndPoint findSsvm(long dcId) {
@Override
public EndPoint findSsvm(Long dcId) {
List<HostVO> ssAHosts = listUpAndConnectingSecondaryStorageVmHost(dcId);
if (ssAHosts == null || ssAHosts.isEmpty()) {
return null;
Expand Down