Skip to content

Commit 457c3ab

Browse files
committed
remove get etag in upload
1 parent 4b8a312 commit 457c3ab

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/elasticsearch/repositories/cos/COSBlobContainer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ void doSingleUpload(String blobName, InputStream inputStream, long blobSize) thr
9191
try {
9292
PutObjectResult putObjectResult = SocketAccess.doPrivileged(() ->
9393
blobStore.client().putObject(putObjectRequest));
94-
putObjectResult.getETag();
9594
} catch (CosServiceException e) {
9695
throw new IOException("Exception when write blob " + blobName, e);
9796
} catch (CosClientException e) {

0 commit comments

Comments
 (0)