File tree 2 files changed +2
-2
lines changed
B/src/main/java/com/alibabacloud/mse/demo
C/src/main/java/com/alibabacloud/mse/demo
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class AController {
60
60
InetUtils inetUtils ;
61
61
62
62
@ GetMapping ("/b" )
63
- public String a (HttpServletRequest request ) {
63
+ public String b (HttpServletRequest request ) {
64
64
return "B" +SERVICE_TAG +"[" + inetUtils .findFirstNonLoopbackAddress ().getHostAddress () + "]" + " -> " +
65
65
restTemplate .getForObject ("http://sc-C/c" , String .class );
66
66
// return "B[" + request.getLocalAddr() + "]";
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class AController {
56
56
InetUtils inetUtils ;
57
57
58
58
@ GetMapping ("/c" )
59
- public String a (HttpServletRequest request ) {
59
+ public String c (HttpServletRequest request ) {
60
60
return "C" + SERVICE_TAG + "[" + inetUtils .findFirstNonLoopbackAddress ().getHostAddress () + "]" ;
61
61
}
62
62
}
You can’t perform that action at this time.
0 commit comments