Skip to content

Commit

Permalink
Fix query param type in /presto/selector/read/{resourceGroupId} (lyft…
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultah committed Aug 18, 2023
1 parent 7269bcf commit 1fd1879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Response readAllSelectors(@QueryParam("useSchema")

@GET
@Path("/selector/read/{resourceGroupId}")
public Response readSelector(@QueryParam("resourceGroupId") String resourceGroupIdStr,
public Response readSelector(@PathParam("resourceGroupId") String resourceGroupIdStr,
@QueryParam("useSchema") String useSchema) {
if (Strings.isNullOrEmpty(resourceGroupIdStr)) { // if query not specified, return all
return Response.ok(this.resourceGroupsManager.readAllSelectors(useSchema)).build();
Expand Down

0 comments on commit 1fd1879

Please sign in to comment.