Skip to content

Commit

Permalink
Revert change to s3_client call in Boto Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Dec 15, 2023
1 parent 36e86cd commit 83032c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/resources/aws/boto_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def delete_data_file(self, bucket, prefix):
self.logger.error("multiple files found with prefix {}".format(prefix))
return ("Multiple files found matching this prefix. Backing off.", 400)
key = s3_objects["Contents"][0]["Key"]
s3_client.delete_object(Bucket=bucket, Key=key)
self.s3_client.delete_object(Bucket=bucket, Key=key)
self.logger.info(
"deleted file for prefix {} in bucket {}".format(prefix, bucket)
)
Expand Down

0 comments on commit 83032c4

Please sign in to comment.