git-servlet: Fix comparing uploadFactory with the wrong DISABLED instance
Change-Id: I53f71dc0e3c68839da5ff5a2e0f3eeb8340e4793 Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
This commit is contained in:
parent
3a899a3af9
commit
6d5241110b
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue