Skip to content

Commit

Permalink
renamed lettuceasync driver option to lettuce
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jun 12, 2019
1 parent 58e40e0 commit c2a08c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/redislabs/riot/cli/RedisDriver.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.redislabs.riot.cli;

public enum RedisDriver {
Jedis, LettuceAsync, LettuceReactive
Jedis, Lettuce, LettuceReactive
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected ItemWriter<Map<String, Object>> writer() {
AbstractRedisDataStructureItemWriter itemWriter = redisItemWriter();
itemWriter.setConverter(redisConverter());
switch (getRoot().getDriver()) {
case LettuceAsync:
case Lettuce:
return new LettuceAsyncWriter(getRoot().lettucePool(), itemWriter);
case LettuceReactive:
RediSearchClient client = getRoot().lettuceClient();
Expand Down

0 comments on commit c2a08c3

Please sign in to comment.