From c7f3fd874c3ba74eee86f60a78057586590ead7e Mon Sep 17 00:00:00 2001 From: Jason Joo Date: Fri, 8 Mar 2019 16:46:07 +0800 Subject: [PATCH] dashboard: fix a request mapping issue of removing machines api (#559) --- .../csp/sentinel/dashboard/controller/AppController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/controller/AppController.java b/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/controller/AppController.java index b892809c..0e98bef9 100755 --- a/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/controller/AppController.java +++ b/sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/controller/AppController.java @@ -77,7 +77,7 @@ public class AppController { return Result.ofSuccess(MachineInfoVo.fromMachineInfoList(list)); } - @GetMapping(value = "/{app}/machine/remove.json") + @RequestMapping(value = "/{app}/machine/remove.json") public Result removeMachineById( @PathVariable("app") String app, @RequestParam(name = "ip") String ip,