@@ -9,7 +9,7 @@ constants = import_module("../package_io/constants.star")
99input_parser = import_module ("../package_io/input_parser.star" )
1010shared_utils = import_module ("../shared_utils/shared_utils.star" )
1111
12- engine_snooper = import_module ("../snooper/snooper_engine_launcher .star" )
12+ snooper_el_launcher = import_module ("../snooper/snooper_el_launcher .star" )
1313
1414cl_context_BOOTNODE = None
1515
@@ -74,7 +74,7 @@ def launch(
7474 },
7575 }
7676
77- all_snooper_engine_contexts = []
77+ all_snooper_el_engine_contexts = []
7878 all_cl_contexts = []
7979 preregistered_validator_keys_for_nodes = (
8080 validator_data .per_node_keystores
@@ -121,12 +121,12 @@ def launch(
121121 el_context = all_el_contexts [index ]
122122
123123 cl_context = None
124- snooper_engine_context = None
124+ snooper_el_engine_context = None
125125 if participant .snooper_enabled :
126126 snooper_service_name = "snooper-engine-{0}-{1}-{2}" .format (
127127 index_str , cl_type , el_type
128128 )
129- snooper_engine_context = engine_snooper . launch (
129+ snooper_el_engine_context = snooper_el_launcher . launch_snooper (
130130 plan ,
131131 snooper_service_name ,
132132 el_context ,
@@ -138,7 +138,7 @@ def launch(
138138 global_other_index += 1
139139 plan .print (
140140 "Successfully added {0} snooper participants" .format (
141- snooper_engine_context
141+ snooper_el_engine_context
142142 )
143143 )
144144 checkpoint_sync_url = args_with_right_defaults .checkpoint_sync_url
@@ -162,7 +162,7 @@ def launch(
162162 "Checkpoint sync URL is required if you enabled checkpoint_sync for custom networks. Please provide a valid URL."
163163 )
164164
165- all_snooper_engine_contexts .append (snooper_engine_context )
165+ all_snooper_el_engine_contexts .append (snooper_el_engine_context )
166166 full_name = "{0}-{1}-{2}" .format (index_str , el_type , cl_type )
167167 if index == 0 :
168168 cl_context = launch_method (
@@ -175,7 +175,7 @@ def launch(
175175 el_context ,
176176 full_name ,
177177 new_cl_node_validator_keystores ,
178- snooper_engine_context ,
178+ snooper_el_engine_context ,
179179 persistent ,
180180 tolerations ,
181181 node_selectors ,
@@ -197,7 +197,7 @@ def launch(
197197 el_context ,
198198 full_name ,
199199 new_cl_node_validator_keystores ,
200- snooper_engine_context ,
200+ snooper_el_engine_context ,
201201 persistent ,
202202 tolerations ,
203203 node_selectors ,
@@ -216,7 +216,7 @@ def launch(
216216 all_cl_contexts .append (cl_context )
217217 return (
218218 all_cl_contexts ,
219- all_snooper_engine_contexts ,
219+ all_snooper_el_engine_contexts ,
220220 preregistered_validator_keys_for_nodes ,
221221 global_other_index ,
222222 )
0 commit comments