diff --git a/modules/workflow_check.py b/modules/workflow_check.py index 7c3083e..2db008a 100644 --- a/modules/workflow_check.py +++ b/modules/workflow_check.py @@ -54,8 +54,7 @@ def _parse_network_data(data: dict) -> tuple: ip = gateway = netmask = "--" mac = _sanitize(data.get("MACAddress", "--")) - # Prefer FQDN over HostName — some IOMs return a UUID in HostName - hostname = _sanitize(data.get("FQDN") or data.get("HostName") or "--") + hostname = _sanitize(data.get("HostName", "--")) link_status = _sanitize(data.get("LinkStatus", "--")) return dhcp_enabled, ip, gateway, netmask, mac, hostname, link_status