mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
multiple modules: improve dict.items() loops (#8876)
* multiple modules: improve dict.items() loops * simplify in memset_* modules * add changelog frag
This commit is contained in:
@@ -1944,7 +1944,7 @@ class Nmcli(object):
|
||||
convert_func = self.list_to_string
|
||||
|
||||
if callable(convert_func):
|
||||
options[setting] = convert_func(options[setting])
|
||||
options[setting] = convert_func(value)
|
||||
|
||||
return options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user