Skip to content

Commit

Permalink
ci: Update s3.list_buckets parameter name
Browse files Browse the repository at this point in the history
With latest version of `boto`, `s3.list_buckets` API expects
`ContinuationToken` instead of `nextToken`.

Signed-off-by: Devaraj Ranganna <[email protected]>
  • Loading branch information
urutva committed Oct 10, 2024
1 parent a478c90 commit 4aea30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ci/aws_cleanup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Arm Limited and/or its affiliates
# Copyright 2023-2024 Arm Limited and/or its affiliates
# <[email protected]>
# SPDX-License-Identifier: MIT

Expand Down Expand Up @@ -137,7 +137,7 @@ def process_things(nextToken: str) -> str:


def process_buckets(nextToken: str) -> str:
response = s3.list_buckets(nextToken=nextToken)
response = s3.list_buckets(ContinuationToken=nextToken)

for bucket in response["Buckets"]:
bucket_name: str = bucket["Name"]
Expand Down

0 comments on commit 4aea30b

Please sign in to comment.