Skip to content

Commit 849f64d

Browse files
committed
Change in BlobContainer deleteBlob does not return boolean
Due to this change: #8366 Closes #44.
1 parent 099f9bb commit 849f64d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/elasticsearch/cloud/azure/blobstore/AzureBlobContainer.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,9 @@ public OutputStream createOutput(String blobName) throws IOException {
9595
}
9696

9797
@Override
98-
public boolean deleteBlob(String blobName) throws IOException {
98+
public void deleteBlob(String blobName) throws IOException {
9999
try {
100100
blobStore.client().deleteBlob(blobStore.container(), buildKey(blobName));
101-
return true;
102101
} catch (URISyntaxException e) {
103102
logger.warn("can not access [{}] in container {{}}: {}", blobName, blobStore.container(), e.getMessage());
104103
throw new IOException(e);

0 commit comments

Comments
 (0)