Skip to content

Commit

Permalink
switch order
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Loftus committed Jan 30, 2025
1 parent ac63a4b commit 60850fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userCode/lib/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class S3:
def __init__(self):
# If we are in a test environment then we want to use localhost
# since we are outside of the docker network.
if RUNNING_AS_TEST_OR_DEV() and GLEANER_MINIO_ADDRESS not in "googleapis.com":
if RUNNING_AS_TEST_OR_DEV() and "googleapis.com" not in GLEANER_MINIO_ADDRESS:
self.endpoint = f"localhost:{GLEANER_MINIO_PORT}"
else:
self.endpoint = f"{GLEANER_MINIO_ADDRESS}:{GLEANER_MINIO_PORT}"
Expand Down

0 comments on commit 60850fe

Please sign in to comment.