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();
|
||||
break;
|
||||
case PUBLIC_IP:
|
||||
address = instance.getPublicDnsName();
|
||||
address = instance.getPublicIpAddress();
|
||||
break;
|
||||
}
|
||||
if (address != null) {
|
||||
|
|
Loading…
Reference in New Issue