From 2192ad92f18695a04b158e79778cc5933c76c038 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:20:43 -0400 Subject: [PATCH] fix(recordings): fix bug caused by #1692 (#1746) (#1754) (cherry picked from commit d80f6221afa3d5227d945da29776a29cd89956c1) Co-authored-by: Ming Yu Wang <90855268+mwangggg@users.noreply.github.com> --- .../java/io/cryostat/recordings/RecordingArchiveHelper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java b/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java index 9f032db364..2d0b1f88fb 100644 --- a/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java +++ b/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java @@ -703,8 +703,7 @@ public Future> getRecordingsAndDirectories() { targetId, file, webServer - .getArchivedDownloadURL( - subdirectoryName, file) + .getArchivedDownloadURL(jvmId, file) .replace( "beta/recordings", "beta/fs/recordings"),