1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-10-22 19:44:09 +00:00

laminarc: replace start with run

This commit is contained in:
Oliver Giles
2018-04-06 13:43:38 +03:00
parent 4d2388c271
commit a5d8b985f1
4 changed files with 18 additions and 15 deletions

View File

@@ -105,9 +105,9 @@ public:
}
// Start a job and wait for the result
kj::Promise<void> start(StartContext context) override {
kj::Promise<void> run(RunContext context) override {
std::string jobName = context.getParams().getJobName();
LLOG(INFO, "RPC start", jobName);
LLOG(INFO, "RPC run", jobName);
ParamMap params;
for(auto p : context.getParams().getParams()) {
params[p.getName().cStr()] = p.getValue().cStr();