Skip to content

Commit f645db7

Browse files
Noremac201tswast
authored andcommitted
Composer: Fix sample code region to include datetime calculation (#1596)
1 parent 484f1ad commit f645db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer/workflows/kubernetes_pod_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
secret='airflow-secrets',
5454
key='sql_alchemy_conn')
5555

56+
# [START composer_kubernetespodoperator]
5657
YESTERDAY = datetime.datetime.now() - datetime.timedelta(days=1)
5758

58-
# [START composer_kubernetespodoperator]
5959
# If a Pod fails to launch, or has an error occur in the container, Airflow
6060
# will show the task as failed, as well as contain all of the task logs
6161
# required to debug.

0 commit comments

Comments
 (0)