Skip to content

Commit

Permalink
Fix fetch master config
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 14, 2024
1 parent 30bdf43 commit e9cf8cf
Showing 1 changed file with 2 additions and 2 deletions.
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 @@ -188,9 +188,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

0 comments on commit e9cf8cf

Please sign in to comment.