fix(host): ensure host wire marshal nil value (#23505)

This commit is contained in:
wanyaoqi
2025-10-12 11:03:57 +08:00
committed by GitHub
parent 3684642617
commit a455b8c8ef
+1 -1
View File
@@ -1829,7 +1829,7 @@ func (h *SHostInfo) ensureNicsHostwires(hostInfo *api.HostDetails) error {
return errors.Wrap(err, "SetWireId")
}
} else {
log.Warningf("NIC not present %s", jsonutils.Marshal(nic).String())
log.Warningf("NIC not present %s, %d", nicInfo.Mac, nicInfo.VlanId)
}
}
return nil