mirror of
https://github.com/apache/jclouds.git
synced 2025-02-17 15:35:44 +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
fc892e9226
commit
0053c77b9b
@ -271,7 +271,7 @@ public abstract class BaseAsyncBlobStore implements AsyncBlobStore {
|
||||
if (!Assertions.eventuallyTrue(new Supplier<Boolean>() {
|
||||
public Boolean get() {
|
||||
try {
|
||||
clearContainer(container, recursive());
|
||||
blobUtils.clearContainer(container, recursive());
|
||||
return deleteAndVerifyContainerGone(container);
|
||||
} catch (ContainerNotFoundException e) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user