From 8de3cd6968a8deeeee5b431099187ec31efb38be Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Date: Thu, 16 Mar 2023 15:51:12 +0100 Subject: [PATCH] Changed port name to match with kubernetes changes in wls --- wls-module/src/wls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wls-module/src/wls.py b/wls-module/src/wls.py index 1c0a299..a6bd3c1 100644 --- a/wls-module/src/wls.py +++ b/wls-module/src/wls.py @@ -102,7 +102,7 @@ def _select_emitter_with_topic(random_emitters): # Pick an emitter at random from the emitters list random_emitter, random_emitter_info = random.choice(list(random_emitters.items())) emitter_address = f"http://{random_emitter_info['ip_address']}:" \ - f"{random_emitter_info['ports']['rpc_' + random_emitter][0]}/" + f"{random_emitter_info['ports']['rpc-' + random_emitter][0]}/" emitter_topics = random_emitter_info["topics"] # Pick a topic at random from the topics supported by the emitter emitter_topic = random.choice(emitter_topics)