From 5d0225e0c3b1646fddb348bea9025edd7f5f89ed Mon Sep 17 00:00:00 2001 From: Vadym Melnychuk Date: Mon, 24 Jul 2023 18:10:16 +0300 Subject: [PATCH] check if base parameter is mandatory --- pyhon/appliance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhon/appliance.py b/pyhon/appliance.py index ef73cd0..a75bfcd 100644 --- a/pyhon/appliance.py +++ b/pyhon/appliance.py @@ -295,7 +295,7 @@ class HonAppliance: continue if to_sync and ( (isinstance(to_sync, list) and name not in to_sync) - or not target_param.mandatory + or not base_param.mandatory ): continue self.sync_parameter(base_param, target_param)