mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
Merge pull request #1237 from maginatics/delete-container-hang
Call BlobUtils.clearContainer directly
This commit is contained in:
commit
86cd5a5f3b
@ -271,7 +271,7 @@ public abstract class BaseAsyncBlobStore implements AsyncBlobStore {
|
|||||||
checkState(retry(new Predicate<String>() {
|
checkState(retry(new Predicate<String>() {
|
||||||
public boolean apply(String in) {
|
public boolean apply(String in) {
|
||||||
try {
|
try {
|
||||||
clearContainer(in, recursive());
|
blobUtils.clearContainer(in, recursive());
|
||||||
return deleteAndVerifyContainerGone(in);
|
return deleteAndVerifyContainerGone(in);
|
||||||
} catch (ContainerNotFoundException e) {
|
} catch (ContainerNotFoundException e) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user