autoscaler: make instance_type required, no silent skip in preflight

This commit is contained in:
Abel Luck 2026-02-28 16:10:17 +01:00
parent 1a355429cb
commit 5092005e05
2 changed files with 4 additions and 4 deletions

View file

@ -77,9 +77,6 @@ class EC2Runtime(RuntimeAdapter):
silently on every failed launch attempt. Never raises; API failures are logged as
warnings so a transient permissions issue does not prevent startup.
"""
if not self._instance_type:
return
try:
target_azs: set[str] = set()
if self._subnet_ids: