Skip to content

Commit 9bf17f7

Browse files
committed
to #64
1 parent 9f955ce commit 9bf17f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mse-simple-demo/B/src/main/java/com/alibabacloud/mse/demo/BApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class AController {
6060
InetUtils inetUtils;
6161

6262
@GetMapping("/b")
63-
public String a(HttpServletRequest request) {
63+
public String b(HttpServletRequest request) {
6464
return "B"+SERVICE_TAG+"[" + inetUtils.findFirstNonLoopbackAddress().getHostAddress() + "]" + " -> " +
6565
restTemplate.getForObject("http://sc-C/c", String.class);
6666
// return "B[" + request.getLocalAddr() + "]";

mse-simple-demo/C/src/main/java/com/alibabacloud/mse/demo/CApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class AController {
5656
InetUtils inetUtils;
5757

5858
@GetMapping("/c")
59-
public String a(HttpServletRequest request) {
59+
public String c(HttpServletRequest request) {
6060
return "C" + SERVICE_TAG + "[" + inetUtils.findFirstNonLoopbackAddress().getHostAddress() + "]";
6161
}
6262
}

0 commit comments

Comments
 (0)