Skip to content

Commit 24ff3e8

Browse files
committed
change path in correct airflow file...
1 parent d9eb2c7 commit 24ff3e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demos/argo-cd/dags/pyspark_pi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def load_body_to_dict(body):
147147
raise AirflowException(f"Exception when loading resource definition: {e}\n")
148148
return body_dict
149149

150-
yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), 'pyspark_pi.yaml')
150+
yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), '../manifests/spark-k8s/pyspark_pi.yaml')
151151

152152
with open(yaml_path, 'r') as file:
153153
crd = file.read()

stacks/airflow/airflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ data:
238238
raise AirflowException(f"Exception when loading resource definition: {e}\n")
239239
return body_dict
240240
241-
yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), '../manifests/spark-k8s/pyspark_pi.yaml')
241+
yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), 'pyspark_pi.yaml')
242242
243243
with open(yaml_path, 'r') as file:
244244
crd = file.read()

0 commit comments

Comments
 (0)