Skip to content

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

Merged
kibanamachine merged 1 commit intoelastic:8.0from
kibanamachine:backport/8.0/pr-124215
Feb 2, 2022
Merged

[8.0] [Fleet] fixed undefined error when missing policy vars in template (#124215)#124379
kibanamachine merged 1 commit intoelastic:8.0from
kibanamachine:backport/8.0/pr-124215

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This is an automatic backport to 8.0 of:

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)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Feb 2, 2022
@kibanamachine kibanamachine enabled auto-merge (squash) February 2, 2022 17:07
@kibanamachine kibanamachine merged commit c6519d3 into elastic:8.0 Feb 2, 2022
@kibana-ci
Copy link
Copy Markdown

💚 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 112.7KB 112.8KB +149.0B

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

cc @juliaElastic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants