From bd01750ac06867978e1e090f86442a4434ca48a6 Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 10 Oct 2024 18:45:08 +0300 Subject: [PATCH] update deps --- vcsclient/bitbucketserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcsclient/bitbucketserver.go b/vcsclient/bitbucketserver.go index b11bd82..088d6e5 100644 --- a/vcsclient/bitbucketserver.go +++ b/vcsclient/bitbucketserver.go @@ -512,7 +512,7 @@ func (client *BitbucketServerClient) DeletePullRequestComment(ctx context.Contex break } } - if _, err = bitbucketClient.DeleteComment_2(owner, repository, int64(pullRequestID), int64(commentID), map[string]interface{}{"version": int32(commentVersion)}); err != nil && err != io.EOF { // #nosec G105 + if _, err = bitbucketClient.DeleteComment_2(owner, repository, int64(pullRequestID), int64(commentID), map[string]interface{}{"version": int32(commentVersion)}); err != nil && err != io.EOF { // #nosec G115 return fmt.Errorf("an error occurred while deleting pull request comment:\n%s", err.Error()) } return nil