mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
fix(pritunl_user): improve resilience to null or missing user parameters (#10955)
* fix(pritunl_user): improve resilience to null or missing user parameters * added changelog fragment - 10955 * standardize 10955 changelog fragment content Co-authored-by: Felix Fontein <felix@fontein.de> * simplify user params comparison Co-authored-by: Felix Fontein <felix@fontein.de> * simplify list fetch Co-authored-by: Felix Fontein <felix@fontein.de> * simplify remote value retrieval Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: djenkins <djenkins@twosix.net> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "pritunl_user - improve resilience when comparing user parameters if remote fields are ``null`` or missing. List parameters (``groups``, ``mac_addresses``) now safely default to empty lists for comparison and avoids ``KeyError`` issues (https://github.com/ansible-collections/community.general/issues/10954, https://github.com/ansible-collections/community.general/pull/10955)."
|
||||
Reference in New Issue
Block a user