ovirt_host_network: check for empty user_opts (#46695)
Signed-off-by: Ondra Machacek <omachace@redhat.com>
This commit is contained in:
parent
c91139bde3
commit
719b99a96e
2 changed files with 4 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ovirt_host_network - check for empty user_opts (https://github.com/ansible/ansible/pull/47283).
|
|
@ -221,6 +221,7 @@ def get_bond_options(mode, usr_opts):
|
|||
)
|
||||
|
||||
opts_dict = DEFAULT_MODE_OPTS.get(mode, {})
|
||||
if usr_opts is not None:
|
||||
opts_dict.update(**usr_opts)
|
||||
|
||||
options.extend(
|
||||
|
|
Loading…
Reference in a new issue