Merge pull request elastic/elasticsearch#3178 from areek/fix/3177

Fix license expiry logging

Original commit: elastic/x-pack-elasticsearch@29d9f90af2
This commit is contained in:
Areek Zillur 2016-08-22 13:16:05 -04:00 committed by GitHub
commit e28c2a8c94
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class LicenseService extends AbstractLifecycleComponent implements Cluste
}
private void logExpirationWarning(long expirationMillis, boolean expired) {
String expiredMsg = expired ? "will expire" : "expired";
String expiredMsg = expired ? "expired" : "will expire";
String general = LoggerMessageFormat.format(null, "\n" +
"#\n" +
"# License [{}] on [{}]. If you have a new license, please update it.\n" +