This is an automated email from the ASF dual-hosted git repository.

husseinawala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c9727d8c5a Fix a bug in the sagemaker example dag in the task 
delete_ecr_repository (#33936)
c9727d8c5a is described below

commit c9727d8c5a34d66a89b10acb5013f93f86571c16
Author: Hussein Awala <[email protected]>
AuthorDate: Thu Aug 31 02:10:28 2023 +0200

    Fix a bug in the sagemaker example dag in the task delete_ecr_repository 
(#33936)
---
 tests/system/providers/amazon/aws/example_sagemaker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system/providers/amazon/aws/example_sagemaker.py 
b/tests/system/providers/amazon/aws/example_sagemaker.py
index e471d69b38..c71740f1ca 100644
--- a/tests/system/providers/amazon/aws/example_sagemaker.py
+++ b/tests/system/providers/amazon/aws/example_sagemaker.py
@@ -416,7 +416,7 @@ def delete_ecr_repository(repository_name):
     image_ids = client.list_images(repositoryName=repository_name)["imageIds"]
     client.batch_delete_image(
         repositoryName=repository_name,
-        imageIds=[{"imageDigest": image["imageDigest"] for image in 
image_ids}],
+        imageIds=[{"imageDigest": image["imageDigest"]} for image in 
image_ids],
     )
     client.delete_repository(repositoryName=repository_name)
 

Reply via email to