mirror of https://github.com/apache/cloudstack.git
fix location constraint ceph error (#12285)
This commit is contained in:
parent
0e6d2d986b
commit
c7cfeb5caa
|
|
@ -350,7 +350,7 @@ public class CephObjectStoreDriverImpl extends BaseObjectStoreDriverImpl {
|
||||||
new AWSStaticCredentialsProvider(
|
new AWSStaticCredentialsProvider(
|
||||||
new BasicAWSCredentials(accessKey, secretKey)))
|
new BasicAWSCredentials(accessKey, secretKey)))
|
||||||
.withEndpointConfiguration(
|
.withEndpointConfiguration(
|
||||||
new AwsClientBuilder.EndpointConfiguration(url, null))
|
new AwsClientBuilder.EndpointConfiguration(url, "us-east-1"))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
if (client == null) {
|
if (client == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue