Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 3.4] Fix fetch master config #1138

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/shared_config_manager/sources/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def get_path(self) -> str:
if target_dir.startswith("/"):
return target_dir
else:
return os.path.join(_MASTER_TARGET if self._is_master else _TARGET, target_dir)
return _MASTER_TARGET if self._is_master else os.path.join(_TARGET, target_dir)
else:
return os.path.join(_MASTER_TARGET if self._is_master else _TARGET, self.get_id())
return _MASTER_TARGET if self._is_master else os.path.join(_TARGET, self.get_id())

def get_id(self) -> str:
return self._id
Expand Down
Loading