mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge branch 'hotfix/qj-host-convert-sched-failed' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-host-convert-sched-failed
This commit is contained in:
@@ -401,9 +401,6 @@ func (d *SchedData) fillNetworksInfo(sjson *simplejson.Json) error {
|
||||
if err != nil || net.Idx == "" {
|
||||
net = new(Network)
|
||||
net.Idx = s.Get("network").MustString()
|
||||
if net.Idx == "" {
|
||||
return fmt.Errorf("Invalid network desc: %s", s.MustString())
|
||||
}
|
||||
net.Wire = s.Get("wire").MustString()
|
||||
net.Driver = s.Get("driver").MustString()
|
||||
net.Exit = s.Get("exit").MustBool()
|
||||
|
||||
Reference in New Issue
Block a user