Skip to content
Draft
Show file tree
Hide file tree
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 src/api/_util/resourcelimit.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,11 +548,11 @@ async def _collect_branch_statuses(
if not branch_ids:
return {}

from ..organization.project import branch as branch_module
from ..organization.project.branch.status import refresh_branch_status

statuses: dict[Identifier, BranchServiceStatus] = {}
for branch_id in branch_ids:
statuses[branch_id] = await branch_module.refresh_branch_status(branch_id)
statuses[branch_id] = await refresh_branch_status(branch_id)
return statuses


Expand Down
2 changes: 1 addition & 1 deletion src/api/backupmonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
create_branch_snapshot,
delete_branch_snapshot,
)
from .organization.project.branch import refresh_branch_status
from .organization.project.branch.status import refresh_branch_status
from .settings import get_settings

# ---------------------------
Expand Down
Loading