Skip to content

Commit

Permalink
[monitoring] Add version header to Integration installation call (ela…
Browse files Browse the repository at this point in the history
…stic#174509)

The initial install call fails because we don't pass the version header.
  • Loading branch information
miltonhultgren authored and nreese committed Jan 10, 2024
1 parent 10becef commit 4c25030
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ export const ingestPipelineTabOnClick = async (
});

if (!dashboardFound) {
const installPackage = () => services.http!.post('/api/fleet/epm/packages/elasticsearch');
const installPackage = () =>
services.http!.post('/api/fleet/epm/packages/elasticsearch', {
headers: { 'Elastic-Api-Version': '2023-10-31' },
});

const ref = services.overlays!.openModal(
toMountPoint(
Expand Down

0 comments on commit 4c25030

Please sign in to comment.