mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +08:00
fix(host): ensure host wire marshal nil value (#23507)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user