Skip to content

Commit 39cf37f

Browse files
committed
fix: missing parenthesis from main merge
1 parent b7906ba commit 39cf37f

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -493,20 +493,21 @@ pub async fn reconcile_trino(
493493
)
494494
.context(ListenerConfigurationSnafu)?;
495495

496-
cluster_resources
497-
.add(client, role_group_listener)
498-
.await
499-
.context(ApplyGroupListenerSnafu)?;
500-
}
496+
cluster_resources
497+
.add(client, role_group_listener)
498+
.await
499+
.context(ApplyGroupListenerSnafu)?;
500+
}
501501

502-
let role_config = trino.generic_role_config(trino_role);
503-
if let Some(GenericRoleConfig {
504-
pod_disruption_budget: pdb,
505-
}) = role_config
506-
{
507-
add_pdbs(pdb, trino, trino_role, client, &mut cluster_resources)
508-
.await
509-
.context(FailedToCreatePdbSnafu)?;
502+
let role_config = trino.generic_role_config(trino_role);
503+
if let Some(GenericRoleConfig {
504+
pod_disruption_budget: pdb,
505+
}) = role_config
506+
{
507+
add_pdbs(pdb, trino, trino_role, client, &mut cluster_resources)
508+
.await
509+
.context(FailedToCreatePdbSnafu)?;
510+
}
510511
}
511512
}
512513

0 commit comments

Comments
 (0)