Skip to content

Commit

Permalink
use maybeAttemptId instead of connectionUpdaterInput.getAttemptNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
pmossman committed Jan 24, 2022
1 parent 9a0f4ef commit 67efb4d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ public void run(final ConnectionUpdaterInput connectionUpdaterInput) throws Retr
af.getActivityType(),
af.getCause(),
maybeJobId.get(),
connectionUpdaterInput.getAttemptNumber()));
maybeAttemptId.get()));
throw childWorkflowFailure;
} else {
failures.add(
FailureHelper.unknownOriginFailure(childWorkflowFailure.getCause(), maybeJobId.get(), connectionUpdaterInput.getAttemptNumber()));
FailureHelper.unknownOriginFailure(childWorkflowFailure.getCause(), maybeJobId.get(), maybeAttemptId.get()));
throw childWorkflowFailure;
}
}
Expand Down

0 comments on commit 67efb4d

Please sign in to comment.