Skip to content

Commit 95ec744

Browse files
committed
(PPS-710): revert password value for create_engine
1 parent 9dba4f9 commit 95ec744

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.secrets.baseline

+1-10
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,6 @@
126126
"line_number": 44
127127
}
128128
],
129-
"bin/setup_psqlgraph.py": [
130-
{
131-
"type": "Secret Keyword",
132-
"filename": "bin/setup_psqlgraph.py",
133-
"hashed_secret": "afc848c316af1a89d49826c5ae9d00ed769415f3",
134-
"is_verified": false,
135-
"line_number": 14
136-
}
137-
],
138129
"peregrine/blueprints/coremetadata.py": [
139130
{
140131
"type": "Hex High Entropy String",
@@ -282,5 +273,5 @@
282273
}
283274
]
284275
},
285-
"generated_at": "2024-08-13T14:46:27Z"
276+
"generated_at": "2024-08-13T16:37:55Z"
286277
}

bin/setup_psqlgraph.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def try_drop_test_data(user, password, database, root_user="postgres", host=""):
1111

1212
engine = create_engine(
1313
"postgres://{user}:{pwd}@{host}/postgres".format(
14-
user=root_user, pwd="postgres", host=host
14+
user=root_user, pwd=password, host=host
1515
)
1616
)
1717

@@ -46,7 +46,7 @@ def setup_database(
4646

4747
engine = create_engine(
4848
"postgres://{user}:{pwd}@{host}/postgres".format(
49-
user=root_user, pwd="postgres", host=host
49+
user=root_user, pwd=password, host=host
5050
)
5151
)
5252
conn = engine.connect()

0 commit comments

Comments
 (0)