Skip to content

Commit

Permalink
0003493: Don't set error flag on ack of resend request batch.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwilmer committed Mar 15, 2018
1 parent d3df11c commit 5c41539
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -183,7 +183,7 @@ private static BatchAck getBatchInfo(Map<String, ? extends Object> parameters, l
batchInfo.setByteCount(getParamAsNum(parameters, WebConstants.ACK_BYTE_COUNT + batchId));
batchInfo.setIgnored(getParamAsBoolean(parameters, WebConstants.ACK_IGNORE_COUNT + batchId));
String status = getParam(parameters, WebConstants.ACK_BATCH_NAME + batchId, "").trim();
batchInfo.setOk(status.equalsIgnoreCase(WebConstants.ACK_BATCH_OK));
batchInfo.setOk(status.equalsIgnoreCase(WebConstants.ACK_BATCH_OK) || status.equalsIgnoreCase(WebConstants.ACK_BATCH_RESEND));
batchInfo.setResend(status.equalsIgnoreCase(WebConstants.ACK_BATCH_RESEND));

if (!batchInfo.isOk()) {
Expand Down

0 comments on commit 5c41539

Please sign in to comment.