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

This commit is contained in:
Jason Joo 2019-03-08 16:46:07 +08:00 committed by Eric Zhao
parent 775484ba61
commit c7f3fd874c
1 changed files with 1 additions and 1 deletions

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