Fix Storage Key in response (#13273)

This commit is contained in:
Ayush Shah 2023-09-20 15:57:08 +05:30 committed by GitHub
parent 10d174e01b
commit 386b7e9405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,7 @@ class S3Source(StorageServiceSource):
bucket_name=bucket_name,
verbose=False,
)
content = json.load(response_object["Body"])
content = json.loads(response_object)
metadata_config = StorageContainerConfig.parse_obj(content)
return metadata_config
except ReadException: