mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 02:31:14 +01:00
fix missing plugin bug
This commit is contained in:
@@ -105,8 +105,8 @@ public class PluginResource
|
|||||||
@GET
|
@GET
|
||||||
@Produces(MediaType.APPLICATION_XML)
|
@Produces(MediaType.APPLICATION_XML)
|
||||||
public Response getPlugins(
|
public Response getPlugins(
|
||||||
@PathParam("version") String version,
|
@PathParam("version") String version,
|
||||||
@DefaultValue("false") @QueryParam("snapshot") boolean snapshot)
|
@DefaultValue("false") @QueryParam("snapshot") boolean snapshot)
|
||||||
{
|
{
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
{
|
{
|
||||||
@@ -161,6 +161,8 @@ public class PluginResource
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pluginSet.add(newest);
|
||||||
|
|
||||||
return pluginSet;
|
return pluginSet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user