mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ovirt_host_network: check for empty user_opts (#46695)
This commit is contained in:
parent
ad3579b4ab
commit
8a671f54dd
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ def get_bond_options(mode, usr_opts):
|
|||
)
|
||||
|
||||
opts_dict = DEFAULT_MODE_OPTS.get(mode, {})
|
||||
opts_dict.update(**usr_opts)
|
||||
if usr_opts is not None:
|
||||
opts_dict.update(**usr_opts)
|
||||
|
||||
options.extend(
|
||||
[otypes.Option(name=opt, value=value)
|
||||
|
|
Loading…
Reference in a new issue