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:
parent
099f9bba21
commit
849f64d798
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue