Skip to content

Commit

Permalink
Test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwal-Microsoft committed Nov 29, 2024
1 parent c9fe9ef commit 9b0ae47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/data_scripts/create_postgres_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def grant_permissions(cursor, dbname, schema_name, principal_name):
)

postgres_details = json.loads(get_secrets_from_kv(key_vault_name, "AZURE-POSTGRESQL-INFO"))
host = postgres_details.get("POSTGRESQL_HOST", "")
dbname = postgres_details.get("POSTGRESQL_DATABASE", "")
host = postgres_details.get("host", "")
dbname = postgres_details.get("database", "")
password = postgres_details.get("password", "")

# Acquire the access token
Expand Down

0 comments on commit 9b0ae47

Please sign in to comment.