Skip to content

Commit

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

The initial install call fails because we don't pass the version header.
  • Loading branch information
miltonhultgren authored Jan 9, 2024
1 parent 66aa374 commit aa1950f
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 aa1950f

Please sign in to comment.