Commit e42166f2 by huangfusuper

修正警告语法

parent d18a3c78
......@@ -160,11 +160,12 @@ public class MythJobProcess implements Callable<String>{
this.process.destroy();
}
if (stringRedisTemplate != null) {
RunLog runLog = RunLog.builder().isEnd(true).isSuccess(exitCode == 0 ? true : false).build();
RunLog runLog = RunLog.builder().isEnd(true).isSuccess(exitCode == 0).build();
//stringRedisTemplate.convertAndSend(runKey, JSON.toJSONString(runLog, WriteClassName))
//TODO 向队尾追加一个日志
stringRedisTemplate.opsForList().rightPush(runKey , JSON.toJSONString(runLog, WriteClassName));
}
assert outputGobbler != null;
return outputGobbler.getRecentLog() + "\n" + errorGobbler.getRecentLog();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment