Skip to content

Commit 73049f4

Browse files
authored
fix(host): ensure host wire marshal nil value (#23500)
1 parent d906032 commit 73049f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/hostman/hostinfo/hostinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ func (h *SHostInfo) ensureNicsHostwires(hostInfo *api.HostDetails) error {
17031703
return errors.Wrap(err, "SetWireId")
17041704
}
17051705
} else {
1706-
log.Warningf("NIC not present %s", jsonutils.Marshal(nic).String())
1706+
log.Warningf("NIC not present %s, %d", nicInfo.Mac, nicInfo.VlanId)
17071707
}
17081708
}
17091709
return nil

0 commit comments

Comments
 (0)