Skip to content

Commit

Permalink
change ssl mode to run some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 committed Mar 5, 2025
1 parent 2068264 commit e3b0f58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sheepdog/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def db_init(app):
connect_args = {}
if app.config.get("PSQLGRAPH") and app.config["PSQLGRAPH"].get("sslmode"):
connect_args["sslmode"] = app.config["PSQLGRAPH"]["sslmode"]
else:
connect_args["sslmode"] = "verify-full" # Added to test: DO NOT MERGE
app.db = PsqlGraphDriver(
host=app.config["PSQLGRAPH"]["host"],
user=app.config["PSQLGRAPH"]["user"],
Expand Down

0 comments on commit e3b0f58

Please sign in to comment.