[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:
Stuart Hendren 2015-10-23 13:37:59 +01:00 committed by Andrew Gaul
parent 0a27a04888
commit ada17d3e47
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }