mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
[fix] fix broadcast default postProcess's bug
This commit is contained in:
parent
d69687f672
commit
67bea9f1d6
@ -49,7 +49,7 @@ public class TestClient {
|
||||
|
||||
@Test
|
||||
public void testFetchJob() throws Exception {
|
||||
ResultDTO<JobInfoDTO> fetchJob = ohMyClient.fetchJob(7L);
|
||||
ResultDTO<JobInfoDTO> fetchJob = ohMyClient.fetchJob(1L);
|
||||
System.out.println(JsonUtils.toJSONStringUnsafe(fetchJob));
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -36,6 +36,6 @@ public abstract class BroadcastProcessor implements BasicProcessor {
|
||||
failed ++;
|
||||
}
|
||||
}
|
||||
return new ProcessResult(succeed == 0, String.format("succeed:%d, failed:%d", succeed, failed));
|
||||
return new ProcessResult(failed == 0, String.format("succeed:%d, failed:%d", succeed, failed));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user