From 0b27dc719440fa443194c44816232998a0de2814 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Fri, 27 Oct 2023 15:38:14 -0400 Subject: [PATCH 1/2] fix jvmId bud --- .../java/io/cryostat/recordings/RecordingArchiveHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java b/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java index 9f032db364..814f328546 100644 --- a/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java +++ b/src/main/java/io/cryostat/recordings/RecordingArchiveHelper.java @@ -704,7 +704,7 @@ public Future> getRecordingsAndDirectories() { file, webServer .getArchivedDownloadURL( - subdirectoryName, file) + jvmId, file) .replace( "beta/recordings", "beta/fs/recordings"), From f428faa1bbc8e2314ea36d0e09c3931d097ed7a3 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Mon, 30 Oct 2023 09:45:27 -0400 Subject: [PATCH 2/2] spotless --- .../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 814f328546..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( - jvmId, file) + .getArchivedDownloadURL(jvmId, file) .replace( "beta/recordings", "beta/fs/recordings"),