Fixed address resolution

This commit is contained in:
Serhiy Suprun 2015-02-18 16:50:58 +02:00
parent e6080e9017
commit e05036f257
1 changed files with 1 additions and 1 deletions

View File

@ -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) {