Skip to content

Commit c7cfeb5

Browse files
authored
fix location constraint ceph error (#12285)
1 parent 0e6d2d9 commit c7cfeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/storage/object/ceph/src/main/java/org/apache/cloudstack/storage/datastore/driver/CephObjectStoreDriverImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ protected AmazonS3 getS3Client(String url, String accessKey, String secretKey) {
350350
new AWSStaticCredentialsProvider(
351351
new BasicAWSCredentials(accessKey, secretKey)))
352352
.withEndpointConfiguration(
353-
new AwsClientBuilder.EndpointConfiguration(url, null))
353+
new AwsClientBuilder.EndpointConfiguration(url, "us-east-1"))
354354
.build();
355355

356356
if (client == null) {

0 commit comments

Comments
 (0)