File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -993,11 +993,8 @@ fn build_rolegroup_statefulset(
993993
994994 // Vector sidecar shall be the last container in the list
995995 if merged_config. logging ( ) . enable_vector_agent {
996- if let Some ( vector_aggregator_config_map_name) = hbase
997- . spec
998- . cluster_config
999- . vector_aggregator_config_map_name
1000- . to_owned ( )
996+ if let Some ( vector_aggregator_config_map_name) =
997+ & hbase. spec . cluster_config . vector_aggregator_config_map_name
1001998 {
1002999 pod_builder. add_container (
10031000 product_logging:: framework:: vector_container (
@@ -1011,7 +1008,7 @@ fn build_rolegroup_statefulset(
10111008 . with_memory_request ( "128Mi" )
10121009 . with_memory_limit ( "128Mi" )
10131010 . build ( ) ,
1014- & vector_aggregator_config_map_name,
1011+ vector_aggregator_config_map_name,
10151012 )
10161013 . context ( ConfigureLoggingSnafu ) ?,
10171014 ) ;
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ fn references_config_map(
203203
204204 hbase. spec . cluster_config . zookeeper_config_map_name == config_map. name_any ( )
205205 || hbase. spec . cluster_config . hdfs_config_map_name == config_map. name_any ( )
206- || match hbase. spec . cluster_config . authorization . to_owned ( ) {
206+ || match & hbase. spec . cluster_config . authorization {
207207 Some ( hbase_authorization) => {
208208 hbase_authorization. opa . config_map_name == config_map. name_any ( )
209209 }
You can’t perform that action at this time.
0 commit comments