> @@ -121,6 +125,6 @@ protected static int getLoginPort(Container container) {
>              }
>           }
>        }
> -      throw new IllegalStateException("Cannot determine the login port for " 
> + container.getId());
> +      return -1;

Hmm Optional is probably better than -1 these days. Or NoSuchElementException

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

Reply via email to