Skip to content

Commit

Permalink
remove recapturing for now
Browse files Browse the repository at this point in the history
  • Loading branch information
xeniape committed Aug 26, 2024
1 parent e2352dc commit ff2b107
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rust/operator-binary/src/airflow_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,8 +1135,6 @@ fn build_executor_template_config_map(

let mut pod_template = pb.build_template();
pod_template.merge_from(pod_overrides.clone());
// Recapturing `pod_template` to immutable, since no changes to `pod_template` should be made after applying overrides
let pod_template = pod_template;

let mut cm_builder = ConfigMapBuilder::new();

Expand Down

0 comments on commit ff2b107

Please sign in to comment.