Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Unicode support for string properties.
Details: - In Ansible modules implemented in python using AnsibleModule, any string input parameters are converted to binary strings, before they are made available in module.params. This caused comparisons between binary strings and unicode strings in the zhmc_partition module, resulting in reporting a change when in fact there was no change. This commit converts the binary strings to unicode, for some input properties of string type that may contain non-ASCII characters. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information
1 parent
80b165c
commit 8ada8d4
Showing
4 changed files
with
73 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters