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 f251693 commit b177d30Copy full SHA for b177d30
rust/operator-binary/src/history/history_controller.rs
@@ -543,7 +543,7 @@ fn build_stateful_set(
543
pb.add_container(container);
544
545
if merged_config.logging.enable_vector_agent {
546
- match shs.spec.vector_aggregator_config_map_name.to_owned() {
+ match &shs.spec.vector_aggregator_config_map_name {
547
Some(vector_aggregator_config_map_name) => {
548
pb.add_container(
549
vector_container(
@@ -560,7 +560,7 @@ fn build_stateful_set(
560
.with_memory_request("128Mi")
561
.with_memory_limit("128Mi")
562
.build(),
563
- &vector_aggregator_config_map_name,
+ vector_aggregator_config_map_name,
564
)
565
.context(ConfigureLoggingSnafu)?,
566
);
0 commit comments