StorageService: move should pass the parameter to the API
When calling the API move method, the proxy should pass the new_token parameter. Signed-off-by: Amnon Heiman <amnon@scylladb.com> Signed-off-by: Pekka Enberg <penberg@scylladb.com>
This commit is contained in:
parent
72f6f5dab4
commit
27c0eb8c99
@ -685,7 +685,7 @@ public class StorageService extends NotificationBroadcasterSupport
|
||||
log(" move(String newToken) throws IOException");
|
||||
MultivaluedMap<String, String> queryParams = new MultivaluedHashMap<String, String>();
|
||||
APIClient.set_query_param(queryParams, "new_token", newToken);
|
||||
c.post("/storage_service/move");
|
||||
c.post("/storage_service/move", queryParams);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user