>        return ContextBuilder.newBuilder(new EC2ApiMetadata())
>              .credentials(ACCESS_KEY, SECRET_KEY)
> -            .endpoint("http://localhost:"; + 
> regionToServers.get(DEFAULT_REGION).getPort())
> +            .endpoint("http://"; + defaultServer.getHostName() + ":" + 
> defaultServer.getPort())

in that case, why not use `defaultServer.getUrl("")`? This is long-winded way 
of saying that.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/617/files#r21004216

Reply via email to