Skip to content

Commit b464394

Browse files
committed
@sanderegg review: rm assert
1 parent 5cb7fef commit b464394

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

services/autoscaling/src/simcore_service_autoscaling/modules/auto_scaling_core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ async def _sorted_allowed_instance_types(app: FastAPI) -> list[EC2InstanceType]:
351351
if allowed_instance_type_names:
352352

353353
def _as_selection(instance_type: EC2InstanceType) -> int:
354-
assert app_settings.AUTOSCALING_EC2_INSTANCES # nosec
355354
return allowed_instance_type_names.index(f"{instance_type.name}")
356355

357356
allowed_instance_types.sort(key=_as_selection)

0 commit comments

Comments
 (0)