From 4bf7f6673dc929a7f67c3c3c8cf36edd13c72a13 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 18 Nov 2022 21:38:39 -0700 Subject: [PATCH] use v2 --- iso/empanadas/empanadas/util/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/empanadas/empanadas/util/shared.py b/iso/empanadas/empanadas/util/shared.py index 0d58fb8..2717567 100644 --- a/iso/empanadas/empanadas/util/shared.py +++ b/iso/empanadas/empanadas/util/shared.py @@ -566,7 +566,7 @@ class Shared: s3 = boto3.client('s3') try: - res = s3.list_objects(Bucket=s3_bucket) + res = s3.list_objects_v2(Bucket=s3_bucket) except: logger.error( '[' + Color.BOLD + Color.RED + 'FAIL' + Color.END + '] ' +