File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,10 @@ async def connect(self) -> Version:
180180 for appliance in result_dict ["domain_objects" ]["appliance" ]:
181181 module_set = False
182182 appliance , module_set = add_module_to_appliance (appliance , modules )
183+ if appliance ["type" ] == "gateway" :
184+ appliance ["module" ]["firmware_version" ] = result_dict ["domain_objects" ]["gateway" ]["firmware_version" ]
183185 if not module_set :
184- modules = collect_module_data (result , count = 2 ) # repeat for 2nd id
186+ modules = collect_module_data (result , count = 2 ) # repeat trying with 2nd id
185187 for appliance in result_dict ["domain_objects" ]["appliance" ]:
186188 module_set = False
187189 appliance , module_set = add_module_to_appliance (appliance , modules )
You can’t perform that action at this time.
0 commit comments