Skip to content

Commit 1423bfa

Browse files
committed
chore: small typo fix
1 parent c6490e1 commit 1423bfa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • infrastructure/common-images/cloudharness-django/libraries/cloudharness-django/cloudharness_django

infrastructure/common-images/cloudharness-django/libraries/cloudharness-django/cloudharness_django/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@
7272
if current_app.harness.database.type == "sqlite3":
7373
DATABASE_ENGINE = "django.db.backends.sqlite3"
7474
DATABASE_NAME = os.path.join(getattr(settings, "PERSISTENT_ROOT", "."), f"{app_name}.sqlite3")
75-
DATABSE_HOST = None
75+
DATABASE_HOST = None
7676
DATABASE_PORT = None
7777
TEST_DATABASE_NAME = os.path.join(getattr(settings, "PERSISTENT_ROOT", "."), "testdb.sqlite3")
7878
elif current_app.harness.database.type == "postgres":
7979
DATABASE_ENGINE = "django.db.backends.postgresql"
8080
DATABASE_NAME = current_app.harness.database.postgres.initialdb
8181
TEST_DATABASE_NAME = f"test_{DATABASE_NAME}"
82-
DATABSE_HOST = current_app.harness.database.name
82+
DATABASE_HOST = current_app.harness.database.name
8383
DATABASE_PORT = current_app.harness.database.postgres.ports[0].port
8484

8585
# Database
@@ -90,7 +90,7 @@
9090
"NAME": DATABASE_NAME,
9191
"USER": getattr(current_app.harness.database, "user", None),
9292
"PASSWORD": getattr(current_app.harness.database, "pass", None),
93-
"HOST": DATABSE_HOST,
93+
"HOST": DATABASE_HOST,
9494
"PORT": DATABASE_PORT,
9595
"CONN_MAX_AGE": 600, # Connection persistent timeouts in seconds (default 0 = close after each request)
9696
"TEST": {

0 commit comments

Comments
 (0)