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

esx_advanced_options: convert integers to strings #202

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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