Skip to content

Commit

Permalink
correct non-delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed May 7, 2022
1 parent 62a1c78 commit edb8d6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal class BucketContainer(

override fun deleteRecursive(name: BucketName, params: RecursiveBucketDeleteParams) {
log.debug("Attempting to recursively delete bucket '{}'", name)
RecursiveBucketDeleter(name, client.defaultRegion, params, minio)
RecursiveBucketDeleter(name, client.defaultRegion, params, minio).execute()
}

override fun exists(name: BucketName, params: BucketExistsParams): Boolean {
Expand Down
2 changes: 1 addition & 1 deletion test/src/main/kotlin/test/ClientTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class ClientTest(
val name = BucketName("bucket-name")

try {
if(client.buckets[name] != null)
if(client.buckets[name] == null)
Log.succeed()
else
Log.fail("Expected getBucket to return null but it did not.")
Expand Down
2 changes: 1 addition & 1 deletion test/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AppenderRef ref="STDOUT" />
</Root>

<Logger name="org.veupathdb.lib.s3.s34k" level="off" additivity="false">
<Logger name="org.veupathdb.lib.s3.s34k" level="debug" additivity="false">
<AppenderRef ref="STDOUT" />
</Logger>
</Loggers>
Expand Down

0 comments on commit edb8d6f

Please sign in to comment.