Skip to content

Commit

Permalink
Renamed ProcessInfo.Status.DONE to OK
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 28, 2014
1 parent f28213b commit 1099a15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -68,7 +68,7 @@ public void handle(HttpServletRequest req, HttpServletResponse res) throws IOExc

engine.getFileSyncService().sendFiles(processInfo,
engine.getNodeService().findNode(nodeId), outgoingTransport);
processInfo.setStatus(Status.DONE);
processInfo.setStatus(Status.OK);
} catch (RuntimeException ex) {
processInfo.setStatus(Status.ERROR);
throw ex;
Expand Down
Expand Up @@ -117,7 +117,7 @@ public void pull(String nodeId, String remoteHost, String remoteAddress,
dataExtractorService.extract(processInfo, nodeService.findNode(nodeId),
outgoingTransport);
if (processInfo.getStatus() != Status.ERROR) {
processInfo.setStatus(Status.DONE);
processInfo.setStatus(Status.OK);
}
} catch (RuntimeException ex) {
processInfo.setStatus(Status.ERROR);
Expand Down
Expand Up @@ -875,7 +875,7 @@ public final PullDataResults getPullData(
}
results.setBatches(batches);
results.setNbrBatches(batches.size());
processInfo.setStatus(org.jumpmind.symmetric.model.ProcessInfo.Status.DONE);
processInfo.setStatus(org.jumpmind.symmetric.model.ProcessInfo.Status.OK);

if (engine.getParameterService().is(ParameterConstants.REST_HEARTBEAT_ON_PULL)
&& hostName != null) {
Expand Down

0 comments on commit 1099a15

Please sign in to comment.