> @@ -113,8 +112,8 @@ private String cleanUpName(String name) {
>
> private List<String> getPublicIpAddresses(Container container) {
> String dockerIpAddress;
> - if (container.node() != null &&
> !Strings.isNullOrEmpty(container.node().ip())) {
> - dockerIpAddress = container.node().ip();
> + if (container.node() != null && container.node().isPresent()) {
If using optionals we should get rid of the null check and assume it is never
null.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/281/files/60f96629c0f24dc819a526c5347f70beb0e7f416#r66576066