check if base parameter is mandatory

This commit is contained in:
Vadym Melnychuk 2023-07-24 18:10:16 +03:00
parent 59943f1d4d
commit 5d0225e0c3

View File

@ -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)