[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 Ignasi Barrera
parent a5ce5983a1
commit ac732a0a53
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);
} }