File tree Expand file tree Collapse file tree
rust/operator-binary/src/crd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ impl v1alpha2::AirflowCluster {
443443 pub fn create_gitsync_links ( & self ) -> Vec < String > {
444444 let mut symlinks = Vec :: < String > :: new ( ) ;
445445 for ( i, _) in self . spec . cluster_config . dags_git_sync . iter ( ) . enumerate ( ) {
446- symlinks. push ( format ! ( "/stackable/app/allDAGs /current-{i}" ) . to_string ( ) )
446+ symlinks. push ( format ! ( "{AIRFLOW_DAGS_FOLDER} /current-{i}" ) . to_string ( ) )
447447 }
448448 symlinks
449449 }
@@ -452,7 +452,7 @@ impl v1alpha2::AirflowCluster {
452452 let mut python_path = Vec :: < String > :: new ( ) ;
453453 for ( i, git_sync) in self . spec . cluster_config . dags_git_sync . iter ( ) . enumerate ( ) {
454454 let folder = & git_sync. git_folder . display ( ) ;
455- python_path. push ( format ! ( "/stackable/app/allDAGs /current-{i}/{folder}" ) . to_string ( ) )
455+ python_path. push ( format ! ( "{AIRFLOW_DAGS_FOLDER} /current-{i}/{folder}" ) . to_string ( ) )
456456 }
457457 python_path
458458 }
You can’t perform that action at this time.
0 commit comments