Skip to content

Commit 7e845a8

Browse files
author
hocgin
committed
TimeoutAspect
1 parent bbbd3ad commit 7e845a8

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-cache/cache-spring-boot-autoconfigure/src/main/java/in/hocg/boot/cache/autoconfiguration/utils

1 file changed

+1
-1
lines changed

spring-boot-cache/cache-spring-boot-autoconfigure/src/main/java/in/hocg/boot/cache/autoconfiguration/utils/RedissonUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class RedissonUtils {
2222

2323
private static String prefixAddress(String address) {
24-
if (StrUtil.isNotBlank(address) && (!address.startsWith("redis://") && !address.startsWith("rediss://"))) {
24+
if (StrUtil.isNotBlank(address) && (!address.startsWith("redis://") || !address.startsWith("rediss://"))) {
2525
return "redis://" + address;
2626
}
2727
return address;

0 commit comments

Comments
 (0)