From 747b1abf9f900dec94fba14dc88328974631a1a9 Mon Sep 17 00:00:00 2001 From: spalger Date: Tue, 18 Jan 2022 15:04:13 -0700 Subject: [PATCH] fix type error in 7.17 --- .../src/functional_test_runner/functional_test_runner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts b/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts index ea55a2672d67..27445e68f953 100644 --- a/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts +++ b/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts @@ -73,10 +73,10 @@ export class FunctionalTestRunner { ); } - if (!this.esVersion.eql(esInfo.version.number)) { + if (!this.esVersion.eql(esInfo.body.version.number)) { throw new Error( `ES reports a version number "${ - esInfo.version.number + esInfo.body.version.number }" which doesn't match supplied es version "${this.esVersion.toString()}"` ); }