This is an automated email from the ASF dual-hosted git repository.

gaul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds.git


The following commit(s) were added to refs/heads/master by this push:
     new 779bc2d  JCLOUDS-1516: specify host name when creating bucket
779bc2d is described below

commit 779bc2db19dd36f40cb5668c2c41620f0e74b8c4
Author: didixith <[email protected]>
AuthorDate: Sat Jul 10 08:05:16 2021 +0530

    JCLOUDS-1516: specify host name when creating bucket
---
 apis/s3/src/main/java/org/jclouds/s3/S3Client.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apis/s3/src/main/java/org/jclouds/s3/S3Client.java 
b/apis/s3/src/main/java/org/jclouds/s3/S3Client.java
index 5f1b58d..1e30777 100644
--- a/apis/s3/src/main/java/org/jclouds/s3/S3Client.java
+++ b/apis/s3/src/main/java/org/jclouds/s3/S3Client.java
@@ -295,7 +295,8 @@ public interface S3Client extends Closeable {
    @Endpoint(Bucket.class)
    
@Fallback(FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists.class)
    boolean putBucketInRegion(@BinderParam(BindRegionToXmlPayload.class) 
@Nullable String region,
-         @Bucket @BinderParam(BindAsHostPrefixIfConfigured.class) 
@ParamValidators(BucketNameValidator.class)
+         @Bucket @EndpointParam(parser = AssignCorrectHostnameForBucket.class) 
+         @BinderParam(BindAsHostPrefixIfConfigured.class) 
@ParamValidators(BucketNameValidator.class)
          String bucketName, PutBucketOptions... options);
 
    /**

Reply via email to