Skip to content

Commit d56eaef

Browse files
xeniaperazvan
andauthored
Update tests/templates/kuttl/smoke/check-metrics.py
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
1 parent 0488267 commit d56eaef

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

tests/templates/kuttl/smoke/check-metrics.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,8 @@ def check_monitoring(hosts):
6565
args = vars(all_args.parse_args())
6666
namespace = args["namespace"]
6767

68-
host_coordinator_0 = (
69-
"http://trino-coordinator-default-0.trino-coordinator-default."
70-
+ namespace
71-
+ ".svc.cluster.local"
72-
)
73-
host_worker_0 = (
74-
"http://trino-worker-default-0.trino-worker-default."
75-
+ namespace
76-
+ ".svc.cluster.local"
77-
)
68+
host_coordinator_0 = f"http://trino-coordinator-default-0.trino-coordinator-default.{namespace}.svc.cluster.local"
69+
host_worker_0 = f"http://trino-worker-default-0.trino-worker-default.{namespace}.svc.cluster.local"
7870

7971
hosts = [host_coordinator_0, host_worker_0]
8072

0 commit comments

Comments
 (0)