File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
crates/stackable-webhook/src Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -154,10 +154,13 @@ impl WebhookServer {
154
154
. route ( "/health" , get ( || async { "ok" } ) ) ;
155
155
156
156
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 ) ?;
161
164
162
165
Ok ( ( Self { tls_server } , cert_rx) )
163
166
}
Original file line number Diff line number Diff line change @@ -168,7 +168,9 @@ impl ConversionWebhookServer {
168
168
service_name = operator_environment. operator_service_name,
169
169
operator_namespace = operator_environment. operator_namespace,
170
170
) ;
171
- options. subject_alterative_dns_names . push ( subject_alterative_dns_name) ;
171
+ options
172
+ . subject_alterative_dns_names
173
+ . push ( subject_alterative_dns_name) ;
172
174
173
175
let ( server, mut cert_rx) = WebhookServer :: new ( router, options)
174
176
. await
You can’t perform that action at this time.
0 commit comments