Fix typo
This commit is contained in:
@@ -426,7 +426,8 @@ class Host:
|
|||||||
hbc_version = None
|
hbc_version = None
|
||||||
latest_os = self.get_latest_plugin_data("os_info")
|
latest_os = self.get_latest_plugin_data("os_info")
|
||||||
if latest_os:
|
if latest_os:
|
||||||
hbc_version = latest_os.get("hbc_version")
|
_, os_data = latest_os
|
||||||
|
hbc_version = os_data.get("hbc_version")
|
||||||
ddict["hbc_version"] = hbc_version
|
ddict["hbc_version"] = hbc_version
|
||||||
|
|
||||||
return ddict
|
return ddict
|
||||||
|
|||||||
Reference in New Issue
Block a user