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
0a27a04888
commit
ada17d3e47
|
@ -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