Fix potential NPE in RedisAutoConfiguration

Closes gh-5667
pull/5672/head
oEmbedler Inc 9 years ago committed by Phillip Webb
parent 6eeda76af7
commit af39d558ff

@ -125,7 +125,7 @@ public class RedisAutoConfiguration {
clusterProperties.getNodes());
if (clusterProperties.getMaxRedirects() != null) {
config.setMaxRedirects(config.getMaxRedirects());
config.setMaxRedirects(clusterProperties.getMaxRedirects());
}
return config;
}

Loading…
Cancel
Save