Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tianjing-li committed Jan 23, 2025
1 parent f312af1 commit 9982a79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/backend/services/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,9 @@ def update_db_config_from_env(session: DBSessionDep):
# Fetch DB entity
db_deployment = deployment_crud.get_deployment_by_name(session, deployment_name)

# Skip to next if no config or no DB deployment found
if not env_config or not db_deployment:
logger.debug(event="Updating DB deployment config, no config or no DB deployment found.")
continue

breakpoint()

0 comments on commit 9982a79

Please sign in to comment.