Skip to content

Commit 3f3a55e

Browse files
[Java] Fix typo in status code API (#441)
1 parent 50ecd4d commit 3f3a55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample-apps/java/springboot-main-service/src/main/java/com/amazon/sampleapp/FrontendServiceController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public String mysql() {
171171
public ResponseEntity<String> status(@PathVariable int code, @RequestParam(name = "ip", defaultValue = "localhost") String ip) {
172172
ip = ip.replace("/", "");
173173
try {
174-
HttpGet request = new HttpGet("http://" + ip + ":8081/status/" + code);
174+
HttpGet request = new HttpGet("http://" + ip + ":8080/status/" + code);
175175
httpClient.execute(request).close();
176176
} catch (Exception e) {
177177
// Ignore exception

0 commit comments

Comments
 (0)