diff --git a/CHANGELOG.md b/CHANGELOG.md index 226f5f6..c461d91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [v2.0.0] +## [v2.0.0-SNAPSHOT] - ceph as default storage - vre folders can define specific bucket as backend diff --git a/pom.xml b/pom.xml index a5bc679..a2419c0 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.gcube.data.access storagehub - 2.0.0 + 2.0.0-SNAPSHOT storagehub diff --git a/src/main/java/org/gcube/data/access/storagehub/storage/backend/impl/S3Backend.java b/src/main/java/org/gcube/data/access/storagehub/storage/backend/impl/S3Backend.java index 9acbd82..5a0f4c6 100644 --- a/src/main/java/org/gcube/data/access/storagehub/storage/backend/impl/S3Backend.java +++ b/src/main/java/org/gcube/data/access/storagehub/storage/backend/impl/S3Backend.java @@ -21,7 +21,6 @@ import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3ClientBuilder; -import com.amazonaws.services.s3.model.Bucket; import com.amazonaws.services.s3.model.ObjectMetadata; import com.amazonaws.services.s3.transfer.TransferManager; import com.amazonaws.services.s3.transfer.TransferManagerBuilder; @@ -83,7 +82,7 @@ public class S3Backend extends StorageBackend{ boolean toReturn = true; try { - client.doesBucketExistV2(bucketName); + toReturn = client.doesBucketExistV2(bucketName); }catch (Exception e) { log.error("error checking aliveness",e); toReturn = false;