File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
services/autoscaling/src/simcore_service_autoscaling/modules/cluster_scaling Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ),
You can’t perform that action at this time.
0 commit comments