ovirt_host_network: check for empty user_opts (#46695)

pull/46904/merge
bverschueren 6 years ago committed by ansibot
parent ad3579b4ab
commit 8a671f54dd

@ -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…
Cancel
Save