Skip to content

Commit

Permalink
fix upgrade guide link
Browse files Browse the repository at this point in the history
  • Loading branch information
jieru-hu committed Apr 19, 2022
1 parent a78d1f6 commit 61ab29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hydra/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def run_job(
_chdir = False

if _chdir is None:
url = "https://hydra.cc/docs/upgrades/1.1_to_1.2/changes_to_job_working_dir"
url = "https://hydra.cc/docs/next/upgrades/1.1_to_1.2/changes_to_job_working_dir/"
deprecation_warning(
message=dedent(
f"""\
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hydra.py
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ def test_job_chdir_not_specified(tmpdir: Path) -> None:
expected = dedent(
"""
.*UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/upgrades/1.1_to_1.2/changes_to_job_working_dir for more information..*
See https://hydra.cc/docs/next/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information..*
.*
"""
)
Expand Down

0 comments on commit 61ab29a

Please sign in to comment.