mirror of
https://github.com/apache/jclouds.git
synced 2025-02-17 23:46:13 +00:00
Merge pull request #846 from andrewgaul/delete-and-verify-container-gone
Fix deleteAndVerifyContainerGone return value
This commit is contained in:
commit
30f99ef1cf
@ -62,7 +62,7 @@ public class S3Utils {
|
|||||||
*/
|
*/
|
||||||
public static boolean deleteAndVerifyContainerGone(S3Client sync, String container) {
|
public static boolean deleteAndVerifyContainerGone(S3Client sync, String container) {
|
||||||
sync.deleteBucketIfEmpty(container);
|
sync.deleteBucketIfEmpty(container);
|
||||||
return sync.bucketExists(container);
|
return !sync.bucketExists(container);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final Predicate<Annotation> ANNOTATIONTYPE_BUCKET = new Predicate<Annotation>() {
|
private static final Predicate<Annotation> ANNOTATIONTYPE_BUCKET = new Predicate<Annotation>() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user