diff --git a/Cargo.nix b/Cargo.nix index dcbe2f3c..9d6a1d33 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -10087,7 +10087,7 @@ rec { "stackable-zookeeper-operator" = rec { crateName = "stackable-zookeeper-operator"; version = "0.0.0-dev"; - edition = "2021"; + edition = "2024"; crateBin = [ { name = "stackable-zookeeper-operator"; diff --git a/Cargo.toml b/Cargo.toml index 2fc17c4a..7793db17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" version = "0.0.0-dev" authors = ["Stackable GmbH "] license = "OSL-3.0" -edition = "2021" +edition = "2024" repository = "https://github.com/stackabletech/zookeeper-operator" [workspace.dependencies] diff --git a/rust/operator-binary/src/discovery.rs b/rust/operator-binary/src/discovery.rs index f5e90a83..69bedb5e 100644 --- a/rust/operator-binary/src/discovery.rs +++ b/rust/operator-binary/src/discovery.rs @@ -137,7 +137,7 @@ pub fn build_discovery_configmap( fn listener_addresses( listener: &listener::v1alpha1::Listener, port_name: &str, -) -> Result> { +) -> Result + use<>> { // Get addresses port pairs for addresses that have a port with the name that matches the one we are interested in let address_port_pairs = listener .status diff --git a/rust/operator-binary/src/webhooks/conversion.rs b/rust/operator-binary/src/webhooks/conversion.rs index c7267976..b03f6e3f 100644 --- a/rust/operator-binary/src/webhooks/conversion.rs +++ b/rust/operator-binary/src/webhooks/conversion.rs @@ -46,7 +46,7 @@ pub async fn create_webhook_server( field_manager: FIELD_MANAGER.to_owned(), }; - let (conversion_webhook, _initial_reconcile_rx) = + let (conversion_webhook, _) = ConversionWebhook::new(crds_and_handlers, client, conversion_webhook_options); let webhook_server_options = WebhookServerOptions {