move s3 port settings to s3 endpoint
This commit is contained in:
parent
5baa93862e
commit
15154a3b59
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ public class S3Connection {
|
|||
private static AmazonS3 getS3Client(String endpoint, int port, String accessKey,
|
||||
String secretKey) {
|
||||
AWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey);
|
||||
String s3Endpoint = endpoint + ":" + port;
|
||||
String s3Endpoint = endpoint;
|
||||
String region = Region.getRegion(Regions.DEFAULT_REGION).toString();
|
||||
|
||||
return AmazonS3ClientBuilder.standard()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue