Skip to content

Commit 0047cf4

Browse files
committed
Add NEED_UPGRADE_REBASE in check_need_rebase_status
1 parent caeba4f commit 0047cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/infrahub/core/branch/needs_rebase_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ def raise_needs_rebase_error(branch_name: str) -> None:
77

88

99
def check_need_rebase_status(branch: Branch) -> None:
10-
if branch.status == BranchStatus.NEED_REBASE:
10+
if branch.status in (BranchStatus.NEED_REBASE, BranchStatus.NEED_UPGRADE_REBASE):
1111
raise_needs_rebase_error(branch_name=branch.name)

0 commit comments

Comments
 (0)