Skip to content

Commit

Permalink
fix(download): use correct logging in bucket module
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Dec 19, 2023
1 parent d0ff5ad commit 8853cd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudrun/src/download/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from google.cloud import storage
import shutil
from uuid import uuid4
from .log import logger

storage_client = storage.Client()
bucket = storage_client.bucket("ut-dts-agrc-deq-enviro-dev.appspot.com")
Expand All @@ -13,7 +14,7 @@ def upload(path):
"""
Uploads the data to a cloud storage bucket.
"""
print("uploading to bucket")
logger.info("uploading to bucket")

# zip contents of path
zip_file = shutil.make_archive(path, "zip", path)
Expand Down

0 comments on commit 8853cd3

Please sign in to comment.