diff --git a/src/main/java/com/redislabs/riot/cli/RedisDriver.java b/src/main/java/com/redislabs/riot/cli/RedisDriver.java index 66d77fc07..4fd83b71a 100644 --- a/src/main/java/com/redislabs/riot/cli/RedisDriver.java +++ b/src/main/java/com/redislabs/riot/cli/RedisDriver.java @@ -1,5 +1,5 @@ package com.redislabs.riot.cli; public enum RedisDriver { - Jedis, LettuceAsync, LettuceReactive + Jedis, Lettuce, LettuceReactive } \ No newline at end of file diff --git a/src/main/java/com/redislabs/riot/cli/in/AbstractRedisImportWriterCommand.java b/src/main/java/com/redislabs/riot/cli/in/AbstractRedisImportWriterCommand.java index 03da3837c..fbb93b37e 100644 --- a/src/main/java/com/redislabs/riot/cli/in/AbstractRedisImportWriterCommand.java +++ b/src/main/java/com/redislabs/riot/cli/in/AbstractRedisImportWriterCommand.java @@ -17,7 +17,7 @@ protected ItemWriter> 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();