fix:get server list with health node

pull/25/head
SkyeBeFreeman 3 years ago
parent 1b9c6e87a9
commit e5c9a045ab

@ -53,7 +53,7 @@ public class PolarisServerList extends AbstractServerList<Server> {
}
private List<Server> getServers() {
InstancesResponse filteredInstances = polarisDiscoveryHandler.getInstances(serviceId);
InstancesResponse filteredInstances = polarisDiscoveryHandler.getFilteredInstances(serviceId);
ServiceInstances serviceInstances = filteredInstances.toServiceInstances();
List<Server> polarisServers = new ArrayList<>();
for (Instance instance : serviceInstances.getInstances()) {

Loading…
Cancel
Save