We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb02702 commit b01ffb3Copy full SHA for b01ffb3
src/main/java/com/spotify/reaper/resources/ClusterResource.java
@@ -24,7 +24,7 @@
24
import javax.ws.rs.core.Response;
25
import javax.ws.rs.core.UriInfo;
26
27
-@Path("/cluster/{name}")
+@Path("/cluster")
28
@Produces(MediaType.APPLICATION_JSON)
29
public class ClusterResource {
30
@@ -37,6 +37,7 @@ public ClusterResource(IStorage storage) {
37
}
38
39
@GET
40
+ @Path("/{name}")
41
public Response getCluster(@PathParam("name") String name) {
42
Cluster cluster = storage.getCluster(name);
43
return Response.ok().entity(cluster).build();
0 commit comments