Skip to content

[7.x] [Fleet] Fix incorrect conversion of string to numeric values in agent YAML (#90371)#90524

Merged
jen-huang merged 1 commit intoelastic:7.xfrom
jen-huang:backport/7.x/pr-90371
Feb 6, 2021
Merged

[7.x] [Fleet] Fix incorrect conversion of string to numeric values in agent YAML (#90371)#90524
jen-huang merged 1 commit intoelastic:7.xfrom
jen-huang:backport/7.x/pr-90371

Conversation

@jen-huang
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

… YAML (elastic#90371)

* Convert user values back to string after yaml template compilation if they were strings originally

* Add better test cases and adjust patch

* Fix when field is undefined

* Handle array of strings too
@jen-huang jen-huang added the backport This PR is a backport of another PR label Feb 5, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@jen-huang jen-huang merged commit ce89ce2 into elastic:7.x Feb 6, 2021
@jen-huang jen-huang deleted the backport/7.x/pr-90371 branch February 6, 2021 01:23
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.

2 participants