Skip to content

Commit 499f2b2

Browse files
fix: initialize CombinedStatus with computed combined state value
1 parent c6081f7 commit 499f2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scm/driver/bitbucket/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (s *repositoryService) FindCombinedStatus(ctx context.Context, repo, ref st
164164
}
165165

166166
combined := &scm.CombinedStatus{
167-
State: 0,
167+
State: combinedState,
168168
Sha: ref,
169169
Statuses: statuses,
170170
}

0 commit comments

Comments
 (0)