Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Jan 22, 2024
1 parent 2b05632 commit dab3bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/client/src/main/java/glide/api/ClusterClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ public CompletableFuture<RedisValue<Object>> customCommand(String[] args) {
Command command =
Command.builder().requestType(Command.RequestType.CUSTOM_COMMAND).arguments(args).build();
return commandManager.submitNewCommand(
command, obj -> RedisValue.of(handleObjectResponse(obj)));
command, response -> RedisValue.of(handleObjectResponse(response)));
}

@Override
public CompletableFuture<RedisValue<Object>> customCommand(String[] args, Route route) {
Command command =
Command.builder().requestType(Command.RequestType.CUSTOM_COMMAND).arguments(args).build();
return commandManager.submitNewCommand(
command, obj -> RedisValue.of(handleObjectResponse(obj)), route);
command, response -> RedisValue.of(handleObjectResponse(response)), route);
}
}

0 comments on commit dab3bc3

Please sign in to comment.