Fixed address resolution
This commit is contained in:
parent
e6080e9017
commit
e05036f257
|
@ -153,7 +153,7 @@ public class AwsEc2UnicastHostsProvider extends AbstractComponent implements Uni
|
||||||
address = instance.getPublicDnsName();
|
address = instance.getPublicDnsName();
|
||||||
break;
|
break;
|
||||||
case PUBLIC_IP:
|
case PUBLIC_IP:
|
||||||
address = instance.getPublicDnsName();
|
address = instance.getPublicIpAddress();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (address != null) {
|
if (address != null) {
|
||||||
|
|
Loading…
Reference in New Issue