Skip to content

Commit 8be8626

Browse files
Correct the URL of the staging instance (#2282)
1 parent 27429d7 commit 8be8626

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/datafix/reimport_gcs_record.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ def objname_for_bug(client: datastore.Client,
5353

5454
def url_for_project(project: str) -> str:
5555
"""Returns the base URL for referencing a vulnerability in the project.
56-
56+
5757
Args:
5858
project: a string representing the project ID.
59-
59+
6060
Returns:
6161
A string URL base for appending vulnerability IDs to.
62-
62+
6363
Raises:
6464
UnexpectedSituation if called with an unsupported project ID.
6565
"""
6666
if project == "oss-vdb-test":
67-
return "https://oss-vdb-test.wl.r.appspot.com/"
67+
return "https://test.osv.dev/"
6868
if project == "oss-vdb":
6969
return "https://osv.dev/"
7070
raise UnexpectedSituation(f"Unexpected project {project}")

0 commit comments

Comments
 (0)