Skip to content

Commit

Permalink
remove debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
lmossman committed Jun 22, 2022
1 parent 51feb3d commit 5e1f24f
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ public void run(final ConnectionUpdaterInput connectionUpdaterInput) throws Retr

// "Cancel" button was pressed on a job
if (workflowState.isCancelled()) {
log.info("--LAKE-- isCancelled is true");
deleteResetJobStreams();
reportCancelledAndContinueWith(false, connectionUpdaterInput);
}
Expand Down Expand Up @@ -527,7 +526,6 @@ private <INPUT, OUTPUT> OUTPUT runMandatoryActivityWithOutput(final Function<INP
*/
private <INPUT> void runMandatoryActivity(final Consumer<INPUT> consumer, final INPUT input) {
runMandatoryActivityWithOutput((inputInternal) -> {
log.info("--LAKE-- runMandatoryActivity called");
consumer.accept(inputInternal);
return null;
}, input);
Expand Down Expand Up @@ -760,16 +758,13 @@ private void reportCancelled() {
}

private void deleteResetJobStreams() {
log.info("--LAKE-- start of deleteResetJobStreams");
final int deleteResetJobStreamsVersion =
Workflow.getVersion(DELETE_RESET_JOB_STREAMS_TAG, Workflow.DEFAULT_VERSION, DELETE_RESET_JOB_STREAMS_CURRENT_VERSION);

log.info("--LAKE-- deleteResetJobStreamsVersion: {}", deleteResetJobStreamsVersion);
if (deleteResetJobStreamsVersion < DELETE_RESET_JOB_STREAMS_CURRENT_VERSION) {
return;
}

log.info("--LAKE-- running deleteStreamResetRecordsForJob activity");
runMandatoryActivity(streamResetActivity::deleteStreamResetRecordsForJob,
new DeleteStreamResetRecordsForJobInput(connectionId, workflowInternalState.getJobId()));
}
Expand Down

0 comments on commit 5e1f24f

Please sign in to comment.