Skip to content

Commit

Permalink
Remove unneeded return
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Dec 12, 2023
1 parent 298b9bb commit 17b8173
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x-pack/plugins/fleet/server/services/secrets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,6 @@ function getPolicyWithSecretReferences(
secretPath.path.reduce((acc, val, secretPathComponentIndex) => {
if (!acc[val]) {
acc[val] = {};

return acc[val];
}

const isLast = secretPathComponentIndex === secretPath.path.length - 1;
Expand Down

0 comments on commit 17b8173

Please sign in to comment.