Skip to content

Commit

Permalink
Not resetting redisConfigBuilder in RedisServerBuilder. (#96)
Browse files Browse the repository at this point in the history
Resetting redisConfigBuilder is forgetting settings which might have
been added by client by using withServerBuilder method on
RedisClusterBuilder. So it shouldn't been reset during master and slaves
creation.
  • Loading branch information
jakubstuglik authored and kstyrc committed Sep 17, 2018
1 parent db9a01b commit b855803
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/redis/embedded/RedisServerBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ public RedisServer build() {
}

public void reset() {
this.executable = null;
this.redisConfigBuilder = null;
this.executable = null;
this.slaveOf = null;
this.redisConf = null;
}
Expand Down

0 comments on commit b855803

Please sign in to comment.