1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 10:35:34 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Alexei Znamensky
933af9ed03 refactor(module_utils): replace module.params.get() with subscript access
AnsibleModule guarantees every declared param key exists in module.params,
so .get(key) and .get(key, default) are equivalent to [key]. Replace them
with the cleaner subscript form across multiple module_utils and modules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 21:49:41 +12:00
RealCharlesChia
89d82ab9df
scaleway: fix NoneType error in get_resources() (#11918)
* scaleway: fix NoneType error in get_resources() when API returns empty or non-JSON response

* add changelog fragment for #11918

* Update changelogs/fragments/11361-scaleway-get-resources-none-type.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: RealCharlesChia <RealCharlesChia@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-04-27 20:44:52 +02:00
Felix Fontein
4fa82b9617
Make all doc fragments, module utils, and plugin utils private (#11896)
* Make all doc fragments private.

* Make all plugin utils private.

* Make all module utils private.

* Reformat.

* Changelog fragment.

* Update configs and ignores.

* Adjust unit test names.
2026-04-20 20:16:26 +02:00
Renamed from plugins/module_utils/scaleway.py (Browse further)