|
|
@ -199,7 +199,7 @@ public class RedissonAutoConfiguration {
|
|
|
|
throw new IllegalArgumentException("Can't parse config", e1);
|
|
|
|
throw new IllegalArgumentException("Can't parse config", e1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (redissonProperties.getFile() != null) {
|
|
|
|
} else if (redissonProperties.getFile() != null && !redissonProperties.getFile().isEmpty()) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
InputStream is = getConfigStream();
|
|
|
|
InputStream is = getConfigStream();
|
|
|
|
config = Config.fromYAML(is);
|
|
|
|
config = Config.fromYAML(is);
|
|
|
|