Skip to content

Commit

Permalink
nit: Fix url to the batch-translation page (#44)
Browse files Browse the repository at this point in the history
* nit: fix url to the batch translation page.

The `offline-translation` leads to the legacy page. Instead we should use `batch-translation`.  Somehow I think we have fixed this already.
  • Loading branch information
xiashang0624 authored Jul 1, 2022
1 parent 9e2e8c1 commit ef115f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/dwh_migration_client/batch_sql_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ def __generate_gcs_path(self) -> str:
)

def __get_ui_link(self) -> str:
"""Returns the http link to the offline translation page for this project."""
"""Returns the http link to the batch translation page for this project."""
return (
"https://console.cloud.google.com/bigquery/migrations/offline-translation"
f"?projectnumber={self.config.project_number}"
"https://console.cloud.google.com/bigquery/migrations/batch-translation"
"?projectnumber=%s" % self.config.project_number
)

def __wait_until_job_finished(
Expand Down

0 comments on commit ef115f6

Please sign in to comment.