Skip to content

Commit

Permalink
fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed May 22, 2024
1 parent 50c5699 commit f530ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/services/preconfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export async function ensurePreconfiguredPackagesAndPolicies(
const { created, policy } = await agentPolicyService.ensurePreconfiguredAgentPolicy(
namespacedSoClient,
esClient,
omit(preconfiguredAgentPolicy, 'is_managed', 'space_id') // Don't add `is_managed` until the policy has been fully configured
omit(preconfiguredAgentPolicy, 'is_managed', 'space_id') // Don't add `is_managed` until the policy has been fully configured and not persist space_id
);

if (!created) {
Expand Down

0 comments on commit f530ab5

Please sign in to comment.