Skip to content

Commit fc684e3

Browse files
committed
fix: lint fixes
1 parent 3d113df commit fc684e3

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

docs/modules/trino/pages/usage-guide/fault-tolerant-execution.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@ When using connectors that do not explicitly support fault-tolerant execution, y
285285

286286
== Examples
287287

288-
* link:https://github.com/stackabletech/trino-operator/blob/main/examples/simple-trino-cluster-fault-tolerant-execution.yaml[TrinoCluster with TASK retry policy and S3 exchange manager {external-link-icon}^]
288+
* link:https://github.com/stackabletech/trino-operator/blob/main/examples/simple-trino-cluster-fault-tolerant-execution.yaml[TrinoCluster with TASK retry policy and S3 exchange manager {external-link-icon}^]

examples/simple-trino-cluster-fault-tolerant-execution.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ metadata:
106106
trino: trino-fault-tolerant
107107
spec:
108108
connector:
109-
tpch: {}
109+
tpch: {}

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,7 @@ fn create_tls_volume(
15821582
.build())
15831583
}
15841584

1585+
#[allow(clippy::too_many_arguments)]
15851586
fn tls_volume_mounts(
15861587
trino: &v1alpha1::TrinoCluster,
15871588
trino_role: &TrinoRole,

tests/templates/kuttl/fault-tolerant-execution/05-run-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ commands:
1313
echo "Objects count is $count (not > 0)"
1414
exit 1
1515
fi
16-
timeout: 20
16+
timeout: 20

tests/templates/kuttl/fault-tolerant-execution/check-fte.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import trino
33
import argparse
44

5+
56
def get_connection(coordinator):
67
"""Create anonymous connection for basic cluster health check"""
78
conn = trino.dbapi.connect(
@@ -14,6 +15,7 @@ def get_connection(coordinator):
1415
)
1516
return conn
1617

18+
1719
if __name__ == "__main__":
1820
# Construct an argument parser
1921
all_args = argparse.ArgumentParser()
@@ -89,5 +91,6 @@ def get_connection(coordinator):
8991
except Exception as e:
9092
print(f"Test failed with error: {e}")
9193
import traceback
94+
9295
traceback.print_exc()
9396
exit(-1)

0 commit comments

Comments
 (0)