Skip to content

Commit ed113c5

Browse files
committed
fix branch naming
1 parent 84d3c18 commit ed113c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/internal/srv/branch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func (s *Server) createBranch(w http.ResponseWriter, r *http.Request) {
139139
return
140140
}
141141

142-
branchPointer, ok := branches[createRequest.BranchName]
142+
branchPointer, ok := branches[models.BranchName(fsm.Pool().Name, createRequest.BranchName)]
143143
if !ok {
144144
api.SendBadRequestError(w, r, "base branch not found")
145145
return

0 commit comments

Comments
 (0)