enoughAllocationsFound = nodeShardsResult.allocationsFound > 0; } else { enoughAllocationsFound = isEnoughVersionBasedAllocationsFound(indexMetaData, nodeShardsResult);
enoughAllocationsFound = nodeShardsResult.allocationsFound > 0; } else { enoughAllocationsFound = isEnoughVersionBasedAllocationsFound(indexMetaData, nodeShardsResult);