Skip to content

Commit

Permalink
minor log statement fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaackMwenda committed May 4, 2020
1 parent 380dbea commit 7464f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/google_cloud/google_cloud_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def upload_file_to_blob(bucket_credentials_file_path, target_blob_url, f, max_re
log.error(f"Not retrying because the blob_chunk_size {blob_chunk_size} is below the minimum allowed (256KB)")
raise ex

log.info(f"Retrying up to{max_retries} more times with a reduced chunk_size of {blob_chunk_size / 2}KB")
log.info(f"Retrying up to {max_retries} more times with a reduced chunk_size of {blob_chunk_size / 2}KB")
# lower the chunk size and start uploading from beginning because resumable_media requires so
f.seek(0)
upload_file_to_blob(bucket_credentials_file_path, target_blob_url, f,
Expand Down

0 comments on commit 7464f11

Please sign in to comment.