(control) Fix start/stop FSM endpoints
This commit is contained in:
parent
12fda1a36b
commit
eb4158df0b
@ -107,13 +107,13 @@ public class ControlNodeService {
|
||||
}
|
||||
|
||||
public Object startFsm(Request req, Response rsp) throws Exception {
|
||||
executorClient.startFsm(Context.fromRequest(req), Integer.parseInt(req.params("node")), req.params("fsm").toUpperCase());
|
||||
executorClient.startFsm(Context.fromRequest(req), Integer.parseInt(req.params("id")), req.params("fsm").toUpperCase());
|
||||
|
||||
return redirectToOverview(req);
|
||||
}
|
||||
|
||||
public Object stopFsm(Request req, Response rsp) throws Exception {
|
||||
executorClient.stopFsm(Context.fromRequest(req), Integer.parseInt(req.params("node")), req.params("fsm").toUpperCase());
|
||||
executorClient.stopFsm(Context.fromRequest(req), Integer.parseInt(req.params("id")), req.params("fsm").toUpperCase());
|
||||
|
||||
return redirectToOverview(req);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user