From 3625778fd0f84af43be9ceaa0c1528b44dc05302 Mon Sep 17 00:00:00 2001 From: Anatoly Karlov Date: Wed, 28 Aug 2024 01:06:14 +0700 Subject: [PATCH] fix log --- .../disputes/service/external/impl/FileStorageServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/vality/disputes/service/external/impl/FileStorageServiceImpl.java b/src/main/java/dev/vality/disputes/service/external/impl/FileStorageServiceImpl.java index 48c2c81..3c8c66d 100644 --- a/src/main/java/dev/vality/disputes/service/external/impl/FileStorageServiceImpl.java +++ b/src/main/java/dev/vality/disputes/service/external/impl/FileStorageServiceImpl.java @@ -37,7 +37,7 @@ public class FileStorageServiceImpl implements FileStorageService { log.debug("Trying to create new file to file-storage"); var result = fileStorageClient.createNewFile(Collections.emptyMap(), getTime().toString()); var fileDataId = result.getFileDataId(); - log.debug("Trying to upload data to file-storage with id: {}", fileDataId); + log.debug("Trying to upload data to s3 with id: {}", fileDataId); var requestPut = new HttpPut(result.getUploadUrl()); requestPut.setEntity(HttpEntities.create(data, null)); // execute() делает внутри try-with-resources + закрывает InputStream в EntityUtils.consume(entity)