mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
Call BlobUtils.clearContainer directly
BaseAsyncBlobStore.clearContainer returns a Future which we previously did not manage correctly, hanging when deleting non-existent containers. Call BlobUtils.clearContainer directly to address this.
This commit is contained in:
parent
0a31ef2c96
commit
60a7d1b4f8
@ -271,7 +271,7 @@ public abstract class BaseAsyncBlobStore implements AsyncBlobStore {
|
||||
checkState(retry(new Predicate<String>() {
|
||||
public boolean apply(String in) {
|
||||
try {
|
||||
clearContainer(in, recursive());
|
||||
blobUtils.clearContainer(in, recursive());
|
||||
return deleteAndVerifyContainerGone(in);
|
||||
} catch (ContainerNotFoundException e) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user