Skip to content

Commit

Permalink
fix: initialize CombinedStatus with computed combined state value
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushilchandra-Dive-NTT committed Jul 26, 2021
1 parent c6081f7 commit 499f2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (s *repositoryService) FindCombinedStatus(ctx context.Context, repo, ref st
}

combined := &scm.CombinedStatus{
State: 0,
State: combinedState,
Sha: ref,
Statuses: statuses,
}
Expand Down

0 comments on commit 499f2b2

Please sign in to comment.