Increment skip to avoid infini-loop (#13703)

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
tokarchuk/v1.17
John Olheiser 4 years ago committed by GitHub
parent 7bc0c8cff6
commit 979fbe086c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      services/pull/pull.go

@ -610,7 +610,7 @@ func GetCommitMessages(pr *models.PullRequest) string {
} }
element = element.Next() element = element.Next()
} }
skip += limit
} }
} }

Loading…
Cancel
Save