mirror of https://github.com/apache/jclouds.git
If *not* empty, have IP, not other way around.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
This commit is contained in:
parent
986f92d0a4
commit
56d5cf5834
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue