Skip to content

Commit

Permalink
Tweak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichalek committed Nov 3, 2017
1 parent 128a681 commit ca77fa8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -165,8 +165,8 @@ public void markAllChannelAsSent(String channelId, String tableName) {
elgibleBatches = sqlTemplateDirty.query(sql, new Object[] { channelId, "OK" });
}

String updateSql = getSql("cancelChannelBatchSql");
if (elgibleBatches != null) {
String updateSql = getSql("cancelChannelBatchSql");
for (Row elgibleBatch : elgibleBatches) {
String nodeId = elgibleBatch.getString("node_id");
long batchId = elgibleBatch.getLong("batch_id");
Expand Down

0 comments on commit ca77fa8

Please sign in to comment.