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 8615c81 commit e2352dc
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 @@ -969,8 +969,6 @@ fn build_server_rolegroup_statefulset(
if let Some(rolegroup) = rolegroup {
pod_template.merge_from(rolegroup.config.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 restarter_label =
Label::try_from(("restarter.stackable.tech/enabled", "true")).context(BuildLabelSnafu)?;
Expand Down

0 comments on commit e2352dc

Please sign in to comment.