Bläddra i källkod

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

master
Jason Joo Eric Zhao 5 år sedan
förälder
incheckning
c7f3fd874c
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 Visa fil

@@ -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<String> removeMachineById(
@PathVariable("app") String app,
@RequestParam(name = "ip") String ip,


Laddar…
Avbryt
Spara