> @@ -76,7 +76,7 @@ public boolean apply(@Nullable StorageMetadata input) {
>
> SocketOpen socketOpen =
> context.utils().injector().getInstance(SocketOpen.class);
> Predicate<HostAndPort> socketTester = retry(socketOpen, 1200, 10,
> SECONDS);
> -
> assertTrue(socketTester.apply(HostAndPort.fromHost(metadata.getPublicUri().getHost()).withDefaultPort(80)),
> metadata.getPublicUri().toString());
> +
> assertTrue(socketTester.apply(HostAndPort.fromParts(metadata.getPublicUri().getHost(),
> 80)), metadata.getPublicUri().toString());
checked the code and these two are equiv. ex. fromHost throws on port in the
host section, so does fromParts.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/588/files#r19417062