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:
Amnon Heiman 2020-10-05 09:38:00 +03:00 committed by Pekka Enberg
parent c55f3f292b
commit c51906ed01
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
/** /**