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 @@ -444,10 +444,8 @@ impl v1alpha2::AirflowCluster {
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 ( ) {
447- symlinks. push (
448- format ! ( "ln -s /stackable/app/git-{i} {AIRFLOW_DAGS_FOLDER}/" )
449- . to_string ( ) ,
450- )
447+ symlinks
448+ . push ( format ! ( "ln -s /stackable/app/git-{i} {AIRFLOW_DAGS_FOLDER}/" ) . to_string ( ) )
451449 }
452450 symlinks
453451 }
@@ -457,10 +455,8 @@ impl v1alpha2::AirflowCluster {
457455 pub fn get_kubernetes_executer_multi_gitsync_commands ( & self ) -> Vec < String > {
458456 let mut cp_commands = Vec :: < String > :: new ( ) ;
459457 for ( i, _) in self . spec . cluster_config . dags_git_sync . iter ( ) . enumerate ( ) {
460- cp_commands. push (
461- format ! ( "cp -r /stackable/app/git-{i} {AIRFLOW_DAGS_FOLDER}/" )
462- . to_string ( ) ,
463- ) ;
458+ cp_commands
459+ . push ( format ! ( "cp -r /stackable/app/git-{i} {AIRFLOW_DAGS_FOLDER}/" ) . to_string ( ) ) ;
464460 }
465461 // init-container seems to only accept one command line.
466462 vec ! [ cp_commands. join( " && " ) ]
You can’t perform that action at this time.
0 commit comments