mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-09 05:58:30 +00:00
update wrap
This commit is contained in:
@@ -133,7 +133,7 @@ func (g *AzureDevopsClient) PullIsApproved(repo models.Repo, pull models.PullReq
|
||||
}
|
||||
adPull, _, err := g.Client.PullRequests.GetWithRepo(g.ctx, owner, project, repoName, pull.Num, &opts)
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("get pull request: %w", err)
|
||||
return false, errors.Wrap(err, "getting pull request")
|
||||
}
|
||||
|
||||
for _, review := range adPull.Reviewers {
|
||||
|
||||
Reference in New Issue
Block a user