From 1aceb7a76492b92c7ddb6cac84c81258776b7576 Mon Sep 17 00:00:00 2001 From: Jen Huang Date: Wed, 9 Mar 2022 13:38:07 -0800 Subject: [PATCH] Lint --- .../fleet/common/services/package_policies_to_agent_inputs.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts b/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts index 5e6fb416c5edc..b9b2c70815fa5 100644 --- a/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts +++ b/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts @@ -26,7 +26,9 @@ export const storedPackagePoliciesToAgentInputs = ( } const fullInput: FullAgentPolicyInput = { - id: `${input.type}${input.policy_template ? `-${input.policy_template}-` : '-'}${packagePolicy.id}`, + id: `${input.type}${input.policy_template ? `-${input.policy_template}-` : '-'}${ + packagePolicy.id + }`, revision: packagePolicy.revision, name: packagePolicy.name, type: input.type,