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:
Andrew Gaul 2013-01-23 22:24:39 -08:00
parent 0a31ef2c96
commit 60a7d1b4f8
1 changed files with 1 additions and 1 deletions

View File

@ -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;