fix logging message
This commit is contained in:
parent
08b37e3e6e
commit
51d46154eb
|
@ -101,7 +101,7 @@ public class AwsEc2Service extends AbstractLifecycleComponent<AwsEc2Service> {
|
||||||
|
|
||||||
if (componentSettings.get("ec2.endpoint") != null) {
|
if (componentSettings.get("ec2.endpoint") != null) {
|
||||||
String endpoint = componentSettings.get("ec2.endpoint");
|
String endpoint = componentSettings.get("ec2.endpoint");
|
||||||
logger.debug("using explicit ec2 region [{}]", endpoint);
|
logger.debug("using explicit ec2 endpoint [{}]", endpoint);
|
||||||
client.setEndpoint(endpoint);
|
client.setEndpoint(endpoint);
|
||||||
} else if (componentSettings.get("region") != null) {
|
} else if (componentSettings.get("region") != null) {
|
||||||
String region = componentSettings.get("region").toLowerCase();
|
String region = componentSettings.get("region").toLowerCase();
|
||||||
|
|
|
@ -92,7 +92,7 @@ public class AwsS3Service extends AbstractLifecycleComponent<AwsS3Service> {
|
||||||
|
|
||||||
if (componentSettings.get("s3.endpoint") != null) {
|
if (componentSettings.get("s3.endpoint") != null) {
|
||||||
String endpoint = componentSettings.get("s3.endpoint");
|
String endpoint = componentSettings.get("s3.endpoint");
|
||||||
logger.debug("using explicit s3 region [{}]", endpoint);
|
logger.debug("using explicit s3 endpoint [{}]", endpoint);
|
||||||
client.setEndpoint(endpoint);
|
client.setEndpoint(endpoint);
|
||||||
} else if (componentSettings.get("region") != null) {
|
} else if (componentSettings.get("region") != null) {
|
||||||
String endpoint;
|
String endpoint;
|
||||||
|
|
Loading…
Reference in New Issue