StorageService.java: Use the endpoint for getRangeToEndpointMap
After implementing range_to_endpoint_map endpoint update the API call to it. Fixes #36 Signed-off-by: Amnon Heiman <amnon@scylladb.com>
This commit is contained in:
parent
c55f3f292b
commit
c51906ed01
@ -270,7 +270,7 @@ public class StorageService extends MetricsMBean implements StorageServiceMBean,
|
|||||||
@Override
|
@Override
|
||||||
public Map<List<String>, List<String>> getRangeToEndpointMap(String keyspace) {
|
public Map<List<String>, List<String>> getRangeToEndpointMap(String keyspace) {
|
||||||
log(" getRangeToEndpointMap(String keyspace)");
|
log(" getRangeToEndpointMap(String keyspace)");
|
||||||
return client.getMapListStrValue("/storage_service/range/" + keyspace);
|
return client.getMapListStrValue("/storage_service/range_to_endpoint_map/" + keyspace);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user