Commit af39d558 authored by oEmbedler Inc's avatar oEmbedler Inc Committed by Phillip Webb

Fix potential NPE in RedisAutoConfiguration

Closes gh-5667
parent 6eeda76a
......@@ -125,7 +125,7 @@ public class RedisAutoConfiguration {
clusterProperties.getNodes());
if (clusterProperties.getMaxRedirects() != null) {
config.setMaxRedirects(config.getMaxRedirects());
config.setMaxRedirects(clusterProperties.getMaxRedirects());
}
return config;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment