File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
services/autoscaling/src/simcore_service_autoscaling/modules Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ async def _try_attach_pending_ec2s(
327327 )
328328
329329
330- async def sorted_allowed_instance_types (app : FastAPI ) -> list [EC2InstanceType ]:
330+ async def _sorted_allowed_instance_types (app : FastAPI ) -> list [EC2InstanceType ]:
331331 app_settings : ApplicationSettings = app .state .settings
332332 assert app_settings .AUTOSCALING_EC2_INSTANCES # nosec
333333 ec2_client = get_ec2_client (app )
@@ -1217,8 +1217,7 @@ async def auto_scale_cluster(
12171217 If there are such tasks, this method will allocate new machines in AWS to cope with
12181218 the additional load.
12191219 """
1220-
1221- allowed_instance_types = await sorted_allowed_instance_types (app )
1220+ allowed_instance_types = await _sorted_allowed_instance_types (app )
12221221 cluster = await _analyze_current_cluster (
12231222 app , auto_scaling_mode , allowed_instance_types
12241223 )
You can’t perform that action at this time.
0 commit comments