Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resolver = "2"
version = "0.0.0-dev"
authors = ["Stackable GmbH <info@stackable.tech>"]
license = "OSL-3.0"
edition = "2021"
edition = "2024"
repository = "https://github.com/stackabletech/trino-operator"

[workspace.dependencies]
Expand Down
5 changes: 2 additions & 3 deletions rust/operator-binary/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ pub async fn reconcile_trino(
);
}

if let Some(listener_class) = trino_role.listener_class_name(trino) {
if let Some(listener_group_name) = group_listener_name(trino, &trino_role) {
if let Some(listener_class) = trino_role.listener_class_name(trino)
&& let Some(listener_group_name) = group_listener_name(trino, &trino_role) {
let role_group_listener = build_group_listener(
trino,
build_recommended_labels(
Expand All @@ -546,7 +546,6 @@ pub async fn reconcile_trino(
.await
.context(ApplyGroupListenerSnafu)?;
}
}

let role_config = trino.generic_role_config(&trino_role);
if let Some(GenericRoleConfig {
Expand Down
2 changes: 1 addition & 1 deletion rust/operator-binary/src/webhooks/conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading