Skip to content

Commit

Permalink
Fix a bug in method name used in GlacierToGCSOperator (#35978)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala committed Nov 30, 2023
1 parent 1a3eeab commit 7e1f67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/transfers/glacier_to_gcs.py
Expand Up @@ -98,7 +98,7 @@ def execute(self, context: Context) -> str:
# Read the file content in chunks using StreamingBody
# https://botocore.amazonaws.com/v1/documentation/api/latest/reference/response.html
stream = glacier_data["body"]
for chunk in stream.iter_chunk(chunk_size=self.chunk_size):
for chunk in stream.iter_chunks(chunk_size=self.chunk_size):
temp_file.write(chunk)
temp_file.flush()
gcs_hook.upload(
Expand Down

0 comments on commit 7e1f67b

Please sign in to comment.