check if base parameter is mandatory
This commit is contained in:
parent
59943f1d4d
commit
5d0225e0c3
@ -295,7 +295,7 @@ class HonAppliance:
|
|||||||
continue
|
continue
|
||||||
if to_sync and (
|
if to_sync and (
|
||||||
(isinstance(to_sync, list) and name not in to_sync)
|
(isinstance(to_sync, list) and name not in to_sync)
|
||||||
or not target_param.mandatory
|
or not base_param.mandatory
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
self.sync_parameter(base_param, target_param)
|
self.sync_parameter(base_param, target_param)
|
||||||
|
Loading…
Reference in New Issue
Block a user