amoghrajesh commented on code in PR #39424:
URL: https://github.com/apache/airflow/pull/39424#discussion_r1590590259
##########
docs/apache-airflow/howto/define-extra-link.rst:
##########
@@ -99,7 +99,11 @@ tasks using
:class:`~airflow.providers.amazon.aws.transfers.gcs_to_s3.GCSToS3Ope
operators = [GCSToS3Operator]
def get_link(self, operator: BaseOperator, *, ti_key: TaskInstanceKey):
- return
"https://s3.amazonaws.com/airflow-logs/{dag_id}/{task_id}/{run_id}".format(
+ # Invalid bucket name because upper case letters are used
+ # This will not be a valid bucket in any region
+ bucket_name = "AirflowBucket"
+ return
"https://s3.amazonaws.com/airflow-logs/{bucket_name}/{dag_id}/{task_id}/{run_id}".format(
Review Comment:
Yeah, made it even more invalid now. WDYT?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]