Skip to content

Commit

Permalink
Will fix this issue in another PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
SanHalacogluImproving committed Feb 21, 2024
1 parent d234ccd commit d0b037b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/client/src/main/java/glide/api/RedisClusterClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ protected ClusterValue<Object> handleCustomCommandResponse(Route route, Response
@Override
public CompletableFuture<Object[]> exec(ClusterTransaction transaction) {
return commandManager.submitNewCommand(
transaction, Optional.empty(), this::handleArrayOrNullResponse);
transaction, Optional.empty(), this::handleArrayResponse);
}

@Override
public CompletableFuture<ClusterValue<Object>[]> exec(
ClusterTransaction transaction, Route route) {
return commandManager
.submitNewCommand(transaction, Optional.ofNullable(route), this::handleArrayOrNullResponse)
.submitNewCommand(transaction, Optional.ofNullable(route), this::handleArrayResponse)
.thenApply(
objects ->
Arrays.stream(objects)
Expand Down

0 comments on commit d0b037b

Please sign in to comment.