File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22import psycopg2
33from psycopg2 import sql
44
5- principalId = "principalId "
5+ principalId = "userPrincipalId "
66user = "managedIdentityName"
77host = "serverName"
88dbname = "postgres"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ curl --output "$requirementFile" "$requirementFileUrl"
2828echo " Download completed"
2929
3030# Replace placeholders in the python script with actual values
31- sed -i " s/principalId /${principalId} /g" " create_postgres_tables.py"
31+ sed -i " s/userPrincipalId /${principalId} /g" " create_postgres_tables.py"
3232sed -i " s/managedIdentityName/${managedIdentityName} /g" " create_postgres_tables.py"
3333sed -i " s/serverName/${serverName} /g" " create_postgres_tables.py"
3434
You can’t perform that action at this time.
0 commit comments