Increment skip to avoid infini-loop (#13703) (#13728)

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

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
release/v1.12
John Olheiser 4 years ago committed by GitHub
parent b7ad2d4557
commit 9196c72b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      services/pull/pull.go

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

Loading…
Cancel
Save