Skip to content

Commit 457dbf3

Browse files
committed
fmt
1 parent f8683e4 commit 457dbf3

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

crates/stackable-webhook/src/lib.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,13 @@ impl WebhookServer {
154154
.route("/health", get(|| async { "ok" }));
155155

156156
tracing::debug!("create TLS server");
157-
let (tls_server, cert_rx) =
158-
TlsServer::new(options.socket_addr, router, options.subject_alterative_dns_names)
159-
.await
160-
.context(CreateTlsServerSnafu)?;
157+
let (tls_server, cert_rx) = TlsServer::new(
158+
options.socket_addr,
159+
router,
160+
options.subject_alterative_dns_names,
161+
)
162+
.await
163+
.context(CreateTlsServerSnafu)?;
161164

162165
Ok((Self { tls_server }, cert_rx))
163166
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ impl ConversionWebhookServer {
168168
service_name = operator_environment.operator_service_name,
169169
operator_namespace = operator_environment.operator_namespace,
170170
);
171-
options.subject_alterative_dns_names.push(subject_alterative_dns_name);
171+
options
172+
.subject_alterative_dns_names
173+
.push(subject_alterative_dns_name);
172174

173175
let (server, mut cert_rx) = WebhookServer::new(router, options)
174176
.await

0 commit comments

Comments
 (0)