Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangzy committed Mar 14, 2018
1 parent 9ac33d8 commit 70b63b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.github.fangzy</groupId>

<artifactId>spring-redis-plugin</artifactId>
<version>1.5.1</version>
<version>1.5.2</version>
<packaging>jar</packaging>

<name>spring-redis-plugin</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/fangzy/redis/JedisHolder.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ public void afterPropertiesSet() throws Exception {
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
try {
Map<String, JedisPool> jedisPoolMap = applicationContext.getBeansOfType(JedisPool.class);
ShardedJedisPool shardedJedisPool = applicationContext.getBean(ShardedJedisPool.class);
setJedisPoolMap(jedisPoolMap);
ShardedJedisPool shardedJedisPool = applicationContext.getBean(ShardedJedisPool.class);
setShardedJedisPool(shardedJedisPool);
} catch (BeansException e) {
LOGGER.warn(e.getMessage());
Expand Down

0 comments on commit 70b63b6

Please sign in to comment.