mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
fix: hostwire update user network name as wireId
This commit is contained in:
@@ -946,7 +946,7 @@ func (h *SHostInfo) doSyncNicInfo(nic *SNIC) {
|
||||
query := jsonutils.NewDict()
|
||||
query.Set("mac_addr", jsonutils.NewString(nic.BridgeDev.GetMac()))
|
||||
_, err := modules.Hostwires.Update(h.GetSession(),
|
||||
h.HostId, nic.Network, query, content)
|
||||
h.HostId, nic.WireId, query, content)
|
||||
if err != nil {
|
||||
log.Errorln(err)
|
||||
h.onFail()
|
||||
|
||||
Reference in New Issue
Block a user