diff --git a/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VM.java b/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VM.java index 988fd230dd..3dac30de0e 100644 --- a/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VM.java +++ b/labs/smartos-ssh/src/main/java/org/jclouds/smartos/compute/domain/VM.java @@ -138,7 +138,7 @@ public class VM { for (int i = 0; i < 30; i++) { ipAddresses = host.getVMIpAddresses(uuid); - if (ipAddresses.isEmpty()) { + if (!ipAddresses.isEmpty()) { // Got some String ip = ipAddresses.get("net0"); if (ip != null && !ip.equals("0.0.0.0"))