Skip to content

Commit 05da997

Browse files
authored
Merge branch 'main' into feat/trino-481
2 parents 96c70fd + 1c493b3 commit 05da997

5 files changed

Lines changed: 22 additions & 21 deletions

File tree

Cargo.nix

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resolver = "2"
66
version = "0.0.0-dev"
77
authors = ["Stackable GmbH <info@stackable.tech>"]
88
license = "OSL-3.0"
9-
edition = "2021"
9+
edition = "2024"
1010
repository = "https://github.com/stackabletech/trino-operator"
1111

1212
[workspace.dependencies]

rust/operator-binary/src/controller.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -526,26 +526,26 @@ pub async fn reconcile_trino(
526526
);
527527
}
528528

529-
if let Some(listener_class) = trino_role.listener_class_name(trino) {
530-
if let Some(listener_group_name) = group_listener_name(trino, &trino_role) {
531-
let role_group_listener = build_group_listener(
529+
if let Some(listener_class) = trino_role.listener_class_name(trino)
530+
&& let Some(listener_group_name) = group_listener_name(trino, &trino_role)
531+
{
532+
let role_group_listener = build_group_listener(
533+
trino,
534+
build_recommended_labels(
532535
trino,
533-
build_recommended_labels(
534-
trino,
535-
&validated.image.app_version_label_value,
536-
&trino_role_str,
537-
"none",
538-
),
539-
listener_class.to_string(),
540-
listener_group_name,
541-
)
542-
.context(ListenerConfigurationSnafu)?;
536+
&validated.image.app_version_label_value,
537+
&trino_role_str,
538+
"none",
539+
),
540+
listener_class.to_string(),
541+
listener_group_name,
542+
)
543+
.context(ListenerConfigurationSnafu)?;
543544

544-
cluster_resources
545-
.add(client, role_group_listener)
546-
.await
547-
.context(ApplyGroupListenerSnafu)?;
548-
}
545+
cluster_resources
546+
.add(client, role_group_listener)
547+
.await
548+
.context(ApplyGroupListenerSnafu)?;
549549
}
550550

551551
let role_config = trino.generic_role_config(&trino_role);

rust/operator-binary/src/webhooks/conversion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub async fn create_webhook_server(
4646
field_manager: FIELD_MANAGER.to_owned(),
4747
};
4848

49-
let (conversion_webhook, _initial_reconcile_rx) =
49+
let (conversion_webhook, _) =
5050
ConversionWebhook::new(crds_and_handlers, client, conversion_webhook_options);
5151

5252
let webhook_server_options = WebhookServerOptions {

tests/test-definition.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ dimensions:
4848
- name: zookeeper
4949
values:
5050
- 3.9.4
51+
- 3.9.5
5152
- name: keycloak
5253
values:
5354
- 25.0.0

0 commit comments

Comments
 (0)