From d3c64b8054c026a04d8c2ec67ee11bef0ce6a28f Mon Sep 17 00:00:00 2001 From: wanyaoqi <18528551+wanyaoqi@users.noreply.github.com> Date: Sun, 12 Oct 2025 11:04:35 +0800 Subject: [PATCH] fix(host): ensure host wire marshal nil value (#23507) --- pkg/hostman/hostinfo/hostinfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hostman/hostinfo/hostinfo.go b/pkg/hostman/hostinfo/hostinfo.go index 4059dc9b6d..f8639b3d97 100644 --- a/pkg/hostman/hostinfo/hostinfo.go +++ b/pkg/hostman/hostinfo/hostinfo.go @@ -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