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

[7.17] [Fleet] fixed undefined error when missing policy vars in template (#124215) #136324

Merged
merged 2 commits into from
Jul 13, 2022

Conversation

kpollich
Copy link
Member

Backport

This will backport the following commits from main to 7.17:

Questions ?

Please refer to the Backport tool documentation

…lastic#124215)

* fixed undefined error when missing policy vars in template

* added validation error if input has no vars

* fixed checks

* added unit test

* fixed checks

* fixed checks

* fixed checks

* moved validation error to validatePackagePolicyConfig

(cherry picked from commit 67430f9)

# Conflicts:
#	x-pack/plugins/fleet/common/services/validate_package_policy.ts
@kpollich kpollich enabled auto-merge (squash) July 13, 2022 17:06
@kpollich kpollich merged commit 3504cc8 into elastic:7.17 Jul 13, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 108.3KB 108.4KB +106.0B

History

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

@kpollich kpollich deleted the backport/7.17/pr-124215 branch July 13, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants