Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

Comments

esx_advanced_options: convert integers to strings#202

Open
crayfishx wants to merge 1 commit intovmware-archive:masterfrom
crayfishx:esx_advanced_options_params
Open

esx_advanced_options: convert integers to strings#202
crayfishx wants to merge 1 commit intovmware-archive:masterfrom
crayfishx:esx_advanced_options_params

Conversation

@crayfishx
Copy link
Contributor

As discussed in #175 (and also raised in #172) if integers are supplied from the esx_advanced_options resource type there is some hard to identify behaviour. Since the solution is to always provide numbers as strings, this PR munges the given hash in the resource type so integers are converted into strings.

Note, I assume that booleans and possibly other types are valid, therefore we only convert integers to strings.

Tests added to assert the above.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant