Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ingest Manager] Remove dupe code between two unpack*ToCache fns #82801

Merged
merged 2 commits into from
Nov 6, 2020

Conversation

jfsiii
Copy link
Contributor

@jfsiii jfsiii commented Nov 6, 2020

Summary

Update unpackRegistryPackageToCache to call unpackArchiveToCache instead of duplicating much of it.

Now an archive is iterated & put in cache via the same function regardless of its initial source.

@jfsiii jfsiii requested a review from skh November 6, 2020 03:26
@skh
Copy link
Contributor

skh commented Nov 6, 2020

Happy to approve when it's out of draft.

@jfsiii jfsiii marked this pull request as ready for review November 6, 2020 14:35
@jfsiii jfsiii requested a review from a team November 6, 2020 14:35
@jfsiii
Copy link
Contributor Author

jfsiii commented Nov 6, 2020

@skh thanks! it's ready now.

I removed "uploaded" from two error messages since all unpacking go through that function, regardless of source 3c38e23

@jfsiii jfsiii self-assigned this Nov 6, 2020
@jfsiii jfsiii added release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0 labels Nov 6, 2020
@jfsiii jfsiii requested a review from neptunian November 6, 2020 15:10
Copy link
Contributor

@skh skh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Nov 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id before after diff
enterpriseSearch 664.5KB 664.5KB +23.0B

page load bundle size

id before after diff
upgradeAssistant 74.5KB 74.5KB +23.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jfsiii jfsiii merged commit 82a8302 into elastic:master Nov 6, 2020
jfsiii pushed a commit to jfsiii/kibana that referenced this pull request Nov 9, 2020
…stic#82801)

## Summary

Update `unpackRegistryPackageToCache` to call `unpackArchiveToCache` instead of duplicating much of it.

Now an archive is iterated & put in cache via the same function regardless of its initial source.
jfsiii pushed a commit that referenced this pull request Nov 9, 2020
) (#82952)

## Summary

Update `unpackRegistryPackageToCache` to call `unpackArchiveToCache` instead of duplicating much of it.

Now an archive is iterated & put in cache via the same function regardless of its initial source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants