mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[PR #8646/e1148e6b backport][stable-9] Fix new Proxmox Volume handling (#8667)
Fix new Proxmox Volume handling (#8646)
* proxmox(fix): volume string builder
Half of the string was incorrectly discarded
* proxmox(fix): remove string conversion of values
- Also converted `None` values into strings
- Clashed with non-`str` values in documentation
* proxmox: add changelog fragment
* proxmox(fix): remove old & unused imports
* proxmox(fix): correctly turn maps into lists
* Update changelogs/fragments/8646-fix-bug-in-proxmox-volumes.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/proxmox.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit e1148e6bdc)
Co-authored-by: JL Euler <Lithimlin@users.noreply.github.com>
This commit is contained in:
4
changelogs/fragments/8646-fix-bug-in-proxmox-volumes.yml
Normal file
4
changelogs/fragments/8646-fix-bug-in-proxmox-volumes.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- proxmox - removed the forced conversion of non-string values to strings to be consistent with the module documentation (https://github.com/ansible-collections/community.general/pull/8646).
|
||||
- proxmox - fixed an issue where the new volume handling incorrectly converted ``null`` values into ``"None"`` strings (https://github.com/ansible-collections/community.general/pull/8646).
|
||||
- proxmox - fixed an issue where volume strings where overwritten instead of appended to in the new ``build_volume()`` method (https://github.com/ansible-collections/community.general/pull/8646).
|
||||
Reference in New Issue
Block a user