[DOCS] Fix typo in IndexService.java (#64034) (#64447)

Co-authored-by: mushaoqiong <mushaoqiong@126.com>
This commit is contained in:
James Rodewig 2020-11-02 08:16:29 -05:00 committed by GitHub
parent dca1724bdc
commit 4a64134718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ public class IndexService extends AbstractIndexComponent implements IndicesClust
// and close the shard so no operations are allowed to it
if (indexShard != null) {
try {
// only flush we are we closed (closed index or shutdown) and if we are not deleted
// only flush if we are closed (closed index or shutdown) and if we are not deleted
final boolean flushEngine = deleted.get() == false && closed.get();
indexShard.close(reason, flushEngine);
} catch (Exception e) {