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:
Amnon Heiman 2015-11-05 14:48:34 +02:00 committed by Pekka Enberg
parent 72f6f5dab4
commit 27c0eb8c99

View File

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