Sfoglia il codice sorgente

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

master
Jason Joo Eric Zhao 5 anni fa
parent
commit
c7f3fd874c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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,


Loading…
Annulla
Salva