@@ -440,7 +440,7 @@ impl v1alpha2::AirflowCluster {
440440 fragment:: validate ( conf_rolegroup) . context ( FragmentValidationFailureSnafu )
441441 }
442442
443- // Softlink from each single folder git-{i} into {AIRFLOW_DAGS_FOLDER}/
443+ // Softlink from each single folder git-{i} into {AIRFLOW_DAGS_FOLDER}/.
444444 pub fn get_multi_gitsync_commands ( & self ) -> Vec < String > {
445445 let mut symlinks = Vec :: < String > :: new ( ) ;
446446 for ( i, _) in self . spec . cluster_config . dags_git_sync . iter ( ) . enumerate ( ) {
@@ -452,7 +452,7 @@ impl v1alpha2::AirflowCluster {
452452 symlinks
453453 }
454454
455- // kubernetesExecuter needs copy since it needs init-container
455+ // kubernetesExecuter needs copy since it needs init-container.
456456 pub fn get_kubernetes_executer_multi_gitsync_commands ( & self ) -> Vec < String > {
457457 let mut cp_commands = Vec :: < String > :: new ( ) ;
458458 for ( i, _) in self . spec . cluster_config . dags_git_sync . iter ( ) . enumerate ( ) {
@@ -465,7 +465,7 @@ impl v1alpha2::AirflowCluster {
465465 vec ! [ cp_commands. join( " && " ) ]
466466 }
467467
468- // PYTHONPATH contains folder-name provided in CRD
468+ // PYTHONPATH contains folder-name provided in CRD.
469469 pub fn get_gitsync_absolute_paths ( & self ) -> Vec < String > {
470470 let mut python_path = Vec :: < String > :: new ( ) ;
471471 for ( i, git_sync) in self . spec . cluster_config . dags_git_sync . iter ( ) . enumerate ( ) {
@@ -636,7 +636,7 @@ impl AirflowRole {
636636 format!(
637637 "cp -RL {CONFIG_PATH}/{AIRFLOW_CONFIG_FILENAME} {AIRFLOW_HOME}/{AIRFLOW_CONFIG_FILENAME}"
638638 ) ,
639- // Adding cm as dags within the same AIRFLOW_DAGS_FOLDER leads to problems, thus checking if exists
639+ // Adding cm as dags within the same AIRFLOW_DAGS_FOLDER may lead to problems, thus checking if exists.
640640 format!( "mkdir -p {AIRFLOW_DAGS_FOLDER}" ) ,
641641 // graceful shutdown part
642642 COMMON_BASH_TRAP_FUNCTIONS . to_string( ) ,
0 commit comments