From 39f63206b353d3af5a09b4696b6fa78c3982a839 Mon Sep 17 00:00:00 2001 From: John Schulz Date: Mon, 3 Aug 2020 15:00:37 -0400 Subject: [PATCH] Return the setup status Promise --- x-pack/plugins/ingest_manager/server/services/setup.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/ingest_manager/server/services/setup.ts b/x-pack/plugins/ingest_manager/server/services/setup.ts index 7107dfe21674a..e6d3f36e9e918 100644 --- a/x-pack/plugins/ingest_manager/server/services/setup.ts +++ b/x-pack/plugins/ingest_manager/server/services/setup.ts @@ -134,6 +134,8 @@ export async function setupIngestManager( // if anything errors, reject/fail onSetupReject(error); } + + return setupIngestStatus; } export async function setupFleet(