Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Nov 14, 2023
1 parent a1f8c5a commit ac59357
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@ private CompletableFuture<Response> submitNewCommand(RequestType command, List<S
var commandId = getNextCallbackId();
//System.out.printf("== %s(%s), callback %d%n", command, String.join(", ", args), commandId);

var commandArgs = ArgsArray.newBuilder();
for (var arg : args) {
commandArgs.addArgs(arg);
}

return CompletableFuture.supplyAsync(() -> {
var commandArgs = ArgsArray.newBuilder();
for (var arg : args) {
commandArgs.addArgs(arg);
}

RedisRequest request =
RedisRequest.newBuilder()
.setCallbackIdx(commandId.getKey() + callbackOffset)
Expand Down

0 comments on commit ac59357

Please sign in to comment.