Change in BlobContainer deleteBlob does not return boolean

Due to this change: https://github.com/elasticsearch/elasticsearch/pull/8366

Closes #44.
This commit is contained in:
David Pilato 2014-11-12 10:29:22 +01:00
parent 099f9bba21
commit 849f64d798
1 changed files with 1 additions and 2 deletions

View File

@ -95,10 +95,9 @@ public class AzureBlobContainer extends AbstractBlobContainer {
}
@Override
public boolean deleteBlob(String blobName) throws IOException {
public void deleteBlob(String blobName) throws IOException {
try {
blobStore.client().deleteBlob(blobStore.container(), buildKey(blobName));
return true;
} catch (URISyntaxException e) {
logger.warn("can not access [{}] in container {{}}: {}", blobName, blobStore.container(), e.getMessage());
throw new IOException(e);