mirror of https://github.com/apache/jclouds.git
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) {
|
||||
sync.deleteBucketIfEmpty(container);
|
||||
return sync.bucketExists(container);
|
||||
return !sync.bucketExists(container);
|
||||
}
|
||||
|
||||
private static final Predicate<Annotation> ANNOTATIONTYPE_BUCKET = new Predicate<Annotation>() {
|
||||
|
|
Loading…
Reference in New Issue