Skip to content

Commit

Permalink
removed completable future: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Jul 5, 2024
1 parent 4a930dd commit f94803f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public BlobStorageResponse compressFolder(String folderId) {
// CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
try (ByteArrayOutputStream fileOutputStream = new ByteArrayOutputStream()) {
if(blobClient.exists()) {
logger.info("put file {} into zipStream. Request {}", blobItem.getName(), folderId);
blobClient.downloadStream(fileOutputStream);
zipStream.putNextEntry(new ZipEntry(finalSingleFileName));
zipStream.write(fileOutputStream.toByteArray());
Expand Down

0 comments on commit f94803f

Please sign in to comment.