File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -993,12 +993,7 @@ fn build_server_rolegroup_statefulset(
993993    } 
994994
995995    if  logging. enable_vector_agent  { 
996-         match  zk
997-             . spec 
998-             . cluster_config 
999-             . vector_aggregator_config_map_name 
1000-             . to_owned ( ) 
1001-         { 
996+         match  & zk. spec . cluster_config . vector_aggregator_config_map_name  { 
1002997            Some ( vector_aggregator_config_map_name)  => { 
1003998                pod_builder. add_container ( 
1004999                    product_logging:: framework:: vector_container ( 
@@ -1012,7 +1007,7 @@ fn build_server_rolegroup_statefulset(
10121007                            . with_memory_request ( "128Mi" ) 
10131008                            . with_memory_limit ( "128Mi" ) 
10141009                            . build ( ) , 
1015-                         & vector_aggregator_config_map_name, 
1010+                         vector_aggregator_config_map_name, 
10161011                    ) 
10171012                    . context ( ConfigureLoggingSnafu ) ?, 
10181013                ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments