[Fleet] Ensure install package during buildPackagePolicyFromPackage#190413
[Fleet] Ensure install package during buildPackagePolicyFromPackage#190413shahzad31 wants to merge 2 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
juliaElastic
left a comment
There was a problem hiding this comment.
Looks good, it would be good to cover with tests.
nchaulet
left a comment
There was a problem hiding this comment.
Looks like it will break the current behavior that uninstall a package if the package was not installed before the package policy creation
@nchaulet The uninstall only happens if there was an error creating the package policy and the package was not installed before, why is that an issue? kibana/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts Lines 302 to 322 in 8266415 |
💔 Build FailedFailed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
|
closing in favour of #191486 |
Summary
Ensure install package during buildPackagePolicyFromPackage !!