Skip to content

Commit e78bc30

Browse files
committed
mypy
1 parent 338ffbc commit e78bc30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/autoscaling/src/simcore_service_autoscaling/modules/cluster_scaling/_auto_scaling_core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,17 +407,17 @@ async def _cancel_previous_pulling_command_if_any(
407407
ssm_client = get_ssm_client(app)
408408
ec2_client = get_ec2_client(app)
409409
command_id = instance.tags[MACHINE_PULLING_COMMAND_ID_EC2_TAG_KEY]
410-
command = await ssm_client.get_command(instance.id, command_id)
410+
command = await ssm_client.get_command(instance.id, command_id=command_id)
411411
if command.status in ("Pending", "InProgress"):
412412
with log_context(
413413
_logger,
414414
logging.INFO,
415415
msg=f"cancelling previous pulling {command_id} on {instance.id}",
416416
):
417-
await ssm_client.cancel_command(instance.id, command_id)
417+
await ssm_client.cancel_command(instance.id, command_id=command_id)
418418
await ec2_client.remove_instances_tags(
419419
[instance],
420-
tags=[
420+
tag_keys=[
421421
MACHINE_PULLING_COMMAND_ID_EC2_TAG_KEY,
422422
MACHINE_PULLING_EC2_TAG_KEY,
423423
*list_pre_pulled_images_tag_keys(instance.tags),

0 commit comments

Comments
 (0)