Skip to content

Commit 148d9f6

Browse files
authored
Two character update to Airflow DAG (GoogleCloudPlatform#6699)
* Removing an environment variable causing problems * two character fix for kpo
1 parent d6ef341 commit 148d9f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer/airflow_1_samples/kubernetes_pod_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
# container to use. env_vars is templated.
133133
env_vars={
134134
'EXAMPLE_VAR': '/example/value',
135-
'GOOGLE_APPLICATION_CREDENTIALS': '/var/secrets/google/service-account.json'})
135+
'GOOGLE_APPLICATION_CREDENTIALS': '/var/secrets/google/service-account.json '})
136136
# [END composer_kubernetespodoperator_secretconfig_airflow_1]
137137
# [START composer_kubernetespodaffinity_airflow_1]
138138
kubernetes_affinity_ex = kubernetes_pod_operator.KubernetesPodOperator(

composer/workflows/kubernetes_pod_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
# container to use. env_vars is templated.
133133
env_vars={
134134
'EXAMPLE_VAR': '/example/value',
135-
'GOOGLE_APPLICATION_CREDENTIALS': '/var/secrets/google/service-account.json'})
135+
'GOOGLE_APPLICATION_CREDENTIALS': '/var/secrets/google/service-account.json '})
136136
# [END composer_kubernetespodoperator_secretconfig]
137137
# [START composer_kubernetespodaffinity]
138138
kubernetes_affinity_ex = KubernetesPodOperator(

0 commit comments

Comments
 (0)