Skip to content

Commit

Permalink
Remove default for Postgres server.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed May 13, 2024
1 parent fbebf82 commit 398759d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/lsst/consdb/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ def setup_postgres() -> sqlalchemy.Engine:
logging.info(f"Connecting to {host} as {user} to {dbname}")
pg_url = f"postgresql://{user}:{passwd}@{host}/{dbname}"
else:
pg_url = os.environ.get(
"POSTGRES_URL", "postgresql://usdf-butler.slac.stanford.edu:5432/lsstdb1"
)
pg_url = os.environ["POSTGRES_URL"]
logging.info(f"Using POSTGRES_URL {user} {host} {dbname}")
return sqlalchemy.create_engine(pg_url)

Expand Down

0 comments on commit 398759d

Please sign in to comment.