mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 12:28:38 +00:00
set azure devops max comment characters to api limit (#1585)
This commit is contained in:
@@ -104,7 +104,7 @@ func (g *AzureDevopsClient) CreateComment(repo models.Repo, pullNum int, comment
|
||||
// maxCommentLength is the maximum number of chars allowed in a single comment
|
||||
// This length was copied from the Github client - haven't found documentation
|
||||
// or tested limit in Azure DevOps.
|
||||
const maxCommentLength = 65536
|
||||
const maxCommentLength = 150000
|
||||
|
||||
comments := common.SplitComment(comment, maxCommentLength, sepEnd, sepStart)
|
||||
owner, project, repoName := SplitAzureDevopsRepoFullName(repo.FullName)
|
||||
|
||||
Reference in New Issue
Block a user