Skip to content

Commit

Permalink
Fix BatchOperator links on wait_for_completion = True (#25228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Jul 22, 2022
1 parent ddaf74d commit ceb1658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/operators/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class BatchOperator(BaseOperator):
def operator_extra_links(self):
op_extra_links = [BatchJobDetailsLink()]
if self.wait_for_completion:
op_extra_links.extend(BatchJobDefinitionLink(), BatchJobQueueLink())
op_extra_links.extend([BatchJobDefinitionLink(), BatchJobQueueLink()])
if not self.array_properties:
# There is no CloudWatch Link to the parent Batch Job available.
op_extra_links.append(CloudWatchEventsLink())
Expand Down

0 comments on commit ceb1658

Please sign in to comment.