mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-09 15:44:20 -07:00
[PR #7241/1beb38ce backport][stable-7] Use get(..)
instead of [..] for safe lookup of value (Fixes #7240) (#7258)
Use `get(..)` instead of [..] for safe lookup of value (Fixes #7240) (#7241)
A OnePassword field item might not have a value (property) when the user has omitted it (on purpose).
(cherry picked from commit 1beb38ceff
)
Co-authored-by: Wouter Klein Heerenbrink <wouter@fluxility.com>
This commit is contained in:
parent
ffca7eaf52
commit
aa3b53fb87
5 changed files with 118 additions and 4 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- onepassword - fix KeyError exception when trying to access value of a field that is not filled out in OnePassword item (https://github.com/ansible-collections/community.general/pull/7241).
|
Loading…
Add table
Add a link
Reference in a new issue