Skip to content

Commit 3be083e

Browse files
committed
clippy
1 parent ed58563 commit 3be083e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,7 @@ impl ConversionWebhookServer {
285285
name: operator_environment.operator_service_name.clone(),
286286
namespace: operator_environment.operator_namespace.clone(),
287287
path: Some(format!("/convert/{kind}")),
288-
port: Some(
289-
DEFAULT_HTTPS_PORT
290-
.try_into()
291-
.expect("DEFAULT_HTTPS_PORT must be convertible into i32"),
292-
),
288+
port: Some(DEFAULT_HTTPS_PORT.into()),
293289
}),
294290
ca_bundle: Some(ByteString(ca_bundle.as_bytes().to_vec())),
295291
url: None,

0 commit comments

Comments
 (0)