File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
crates/stackable-webhook/src/servers Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ impl ConversionWebhookServer {
113
113
/// use clap::Parser;
114
114
/// use stackable_webhook::{
115
115
/// servers::{ConversionWebhookServer, ConversionWebhookOptions},
116
+ /// constants::CONVERSION_WEBHOOK_HTTPS_PORT,
116
117
/// WebhookOptions
117
118
/// };
118
119
/// use stackable_operator::{
@@ -136,7 +137,9 @@ impl ConversionWebhookServer {
136
137
/// ];
137
138
///
138
139
/// let options = ConversionWebhookOptions {
139
- /// socket_addr: "127.0.0.1:8443".parse().expect("static IP is always valid"),
140
+ /// socket_addr: format!("127.0.0.1:{CONVERSION_WEBHOOK_HTTPS_PORT}")
141
+ /// .parse()
142
+ /// .expect("static address is always valid"),
140
143
/// field_manager: OPERATOR_NAME.to_owned(),
141
144
/// namespace: operator_environment.operator_namespace,
142
145
/// service_name: operator_environment.operator_service_name,
You can’t perform that action at this time.
0 commit comments