File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
services/clusters-keeper/src/simcore_service_clusters_keeper/modules Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ async def get_cluster_workers(
128128) -> list [EC2InstanceData ]:
129129 app_settings = get_application_settings (app )
130130 assert app_settings .CLUSTERS_KEEPER_WORKERS_EC2_INSTANCES # nosec
131- ec2_instance_data : list [ EC2InstanceData ] = await get_ec2_client (app ).get_instances (
131+ return await get_ec2_client (app ).get_instances (
132132 key_names = [
133133 app_settings .CLUSTERS_KEEPER_WORKERS_EC2_INSTANCES .WORKERS_EC2_INSTANCES_KEY_NAME
134134 ],
@@ -139,7 +139,6 @@ async def get_cluster_workers(
139139 + "*" # NOTE: this is done this way as * is a special char in AWS tag filtering
140140 },
141141 )
142- return ec2_instance_data
143142
144143
145144async def cluster_heartbeat (
You can’t perform that action at this time.
0 commit comments