From 0b315126f123104c4caaa3a7353b6e400808f564 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Fri, 29 Jan 2021 10:53:46 -0700 Subject: [PATCH] revert changes to ingestPipeline schema --- x-pack/plugins/file_upload/server/schemas.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/file_upload/server/schemas.ts b/x-pack/plugins/file_upload/server/schemas.ts index e5eda5d5ea7065..79db26cdb8c05b 100644 --- a/x-pack/plugins/file_upload/server/schemas.ts +++ b/x-pack/plugins/file_upload/server/schemas.ts @@ -18,7 +18,7 @@ export const importFileBodySchema = schema.object({ mappings: schema.any(), /** Ingest pipeline definition */ ingestPipeline: schema.object({ - id: schema.string(), - pipeline: schema.any(), + id: schema.maybe(schema.string()), + pipeline: schema.maybe(schema.any()), }), });