We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c2b51 commit 9ae3ff2Copy full SHA for 9ae3ff2
1 file changed
rust/operator-binary/src/controller.rs
@@ -1020,12 +1020,7 @@ fn build_server_rolegroup_daemonset(
1020
}
1021
1022
if merged_config.logging.enable_vector_agent {
1023
- match opa
1024
- .spec
1025
- .cluster_config
1026
- .vector_aggregator_config_map_name
1027
- .to_owned()
1028
- {
+ match &opa.spec.cluster_config.vector_aggregator_config_map_name {
1029
Some(vector_aggregator_config_map_name) => {
1030
pb.add_container(
1031
product_logging::framework::vector_container(
@@ -1042,7 +1037,7 @@ fn build_server_rolegroup_daemonset(
1042
1037
.with_memory_request("128Mi")
1043
1038
.with_memory_limit("128Mi")
1044
1039
.build(),
1045
- &vector_aggregator_config_map_name,
1040
+ vector_aggregator_config_map_name,
1046
1041
)
1047
.context(ConfigureLoggingSnafu)?,
1048
);
0 commit comments