mirror of https://github.com/apache/jclouds.git
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…
Reference in New Issue