Skip to content
Snippets Groups Projects
Commit 6d524111 authored by Robin Rosenberg's avatar Robin Rosenberg
Browse files

git-servlet: Fix comparing uploadFactory with the wrong DISABLED instance


Change-Id: I53f71dc0e3c68839da5ff5a2e0f3eeb8340e4793
Signed-off-by: default avatarRobin Rosenberg <robin.rosenberg@dewire.com>
parent 3a899a3a
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ public void init(final ServletConfig config) throws ServletException {
initialized = true;
if (uploadPackFactory != ReceivePackFactory.DISABLED) {
if (uploadPackFactory != UploadPackFactory.DISABLED) {
serve("*/git-upload-pack")//
.with(new UploadPackServlet(uploadPackFactory));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment