Skip to content

Commit

Permalink
Update uri options constrains.
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Lorenzo committed Oct 27, 2020
1 parent e22dc96 commit 69ba9bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/seedstack/redis/RedisConfig.java
Expand Up @@ -9,7 +9,6 @@

import org.seedstack.coffig.Config;
import org.seedstack.coffig.SingleValue;
import org.seedstack.seed.validation.NotBlank;
import redis.clients.jedis.JedisPoolConfig;
import redis.clients.jedis.Protocol;

Expand Down Expand Up @@ -44,7 +43,7 @@ public RedisConfig setDefaultClient(String defaultClient) {
}

public static class ClientConfig {
@NotBlank
@NotNull
@SingleValue
private URI uri;
@NotNull
Expand Down

0 comments on commit 69ba9bd

Please sign in to comment.