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

This commit is contained in:
wanyaoqi
2025-10-12 11:04:35 +08:00
committed by GitHub
parent 914c1a1971
commit d3c64b8054
+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