mirror of https://github.com/apache/jclouds.git
[elasticstack] fix for incorrect logging message
Was logging when it was present rather than when it had failed to find it.
This commit is contained in:
parent
a5ce5983a1
commit
ac732a0a53
|
@ -93,7 +93,7 @@ public class StandardDriveToWellKnownImage implements Function<StandardDrive, We
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (family.isPresent()) {
|
if (!family.isPresent()) {
|
||||||
logger.warn("could not find the operating system family for image: %s", name);
|
logger.warn("could not find the operating system family for image: %s", name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue