Skip to content

Commit

Permalink
add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Oct 13, 2022
1 parent b743d0a commit 4162afd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/fleet/server/services/epm/registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ async function getPackageInfoFromArchiveOrCache(
archiveBuffer,
ensureContentType(archivePath)
);
// set the download URL as it isn't contained in the manifest
// this allows us to re-download the archive during package install
setPackageInfo({ packageInfo: { ...packageInfo, download: archivePath }, name, version });
return packageInfo;
} else {
Expand Down

0 comments on commit 4162afd

Please sign in to comment.