Merge pull request #846 from andrewgaul/delete-and-verify-container-gone

Fix deleteAndVerifyContainerGone return value
This commit is contained in:
Adrian Cole 2012-09-19 18:45:48 -07:00
commit 30f99ef1cf
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class S3Utils {
*/
public static boolean deleteAndVerifyContainerGone(S3Client sync, String container) {
sync.deleteBucketIfEmpty(container);
return sync.bucketExists(container);
return !sync.bucketExists(container);
}
private static final Predicate<Annotation> ANNOTATIONTYPE_BUCKET = new Predicate<Annotation>() {