Skip to content

Commit f773083

Browse files
committed
fix .
1 parent fd7ad8e commit f773083

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dubbo-spi-sample/src/main/java/com/ipman/dubbo/spi/sample/spi/CustomConsumerLoadBalance.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public <T> Invoker<T> select(List<Invoker<T>> invokers, URL url, Invocation invo
3333
+ ",doSelect=" + u.getAddress() + ":" + u.getPort());
3434
return t;
3535
} catch (Exception e) {
36-
// no e
36+
// throw e
3737
}
3838
}
3939
return null;

springboot-lettuce-sample/src/main/java/com/ipman/springboot/lettuce/sample/api/LettuceController.java

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.ipman.springboot.lettuce.sample.utils.LettuceUtil;
44
import org.springframework.beans.factory.annotation.Autowired;
5+
import org.springframework.context.annotation.Bean;
56
import org.springframework.stereotype.Component;
67
import org.springframework.web.bind.annotation.GetMapping;
78
import org.springframework.web.bind.annotation.RequestMapping;

0 commit comments

Comments
 (0)