Browse Source

dashboard: fix a request mapping issue of removing machines api (#559)

master
Jason Joo Eric Zhao 5 years ago
parent
commit
c7f3fd874c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/controller/AppController.java

+ 1
- 1
sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/controller/AppController.java View File

@@ -77,7 +77,7 @@ public class AppController {
return Result.ofSuccess(MachineInfoVo.fromMachineInfoList(list)); return Result.ofSuccess(MachineInfoVo.fromMachineInfoList(list));
} }
@GetMapping(value = "/{app}/machine/remove.json")
@RequestMapping(value = "/{app}/machine/remove.json")
public Result<String> removeMachineById( public Result<String> removeMachineById(
@PathVariable("app") String app, @PathVariable("app") String app,
@RequestParam(name = "ip") String ip, @RequestParam(name = "ip") String ip,


Loading…
Cancel
Save