Skip to content

Commit

Permalink
fix(archives): cannot delete archived recording
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 21, 2023
1 parent de4db51 commit 96c4a13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/io/cryostat/recordings/Recordings.java
Original file line number Diff line number Diff line change
Expand Up @@ -656,11 +656,10 @@ public void deleteRecording(@RestPath long targetId, @RestPath long remoteId) th

@DELETE
@Blocking
@Path("/api/beta/fs/recordings/{encodedJvmId}/{filename}")
@Path("/api/beta/fs/recordings/{jvmId}/{filename}")
@RolesAllowed("write")
public void deleteArchivedRecording(@RestPath String encodedJvmId, @RestPath String filename)
public void deleteArchivedRecording(@RestPath String jvmId, @RestPath String filename)
throws Exception {
var jvmId = recordingHelper.decodeBase32(encodedJvmId);
logger.infov("Handling archived recording deletion: {0} / {1}", jvmId, filename);
var metadata =
recordingHelper
Expand Down

0 comments on commit 96c4a13

Please sign in to comment.