Skip to content

Commit a53cf8f

Browse files
committed
collapse ifs
1 parent 1bb078b commit a53cf8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/stackable-webhook/src/servers/conversion.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ impl ConversionWebhookServer {
246246
.recv()
247247
.await
248248
.context(ReceiveCertificateFromChannelSnafu)?;
249+
249250
if maintain_crds {
250251
Self::reconcile_crds(
251252
&client,
@@ -257,9 +258,7 @@ impl ConversionWebhookServer {
257258
)
258259
.await
259260
.context(ReconcileCrdsSnafu)?;
260-
}
261261

262-
if maintain_crds {
263262
try_join!(
264263
Self::run_webhook_server(server),
265264
Self::run_crd_reconciliation_loop(

0 commit comments

Comments
 (0)