mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #907 in YUNIONIO/onecloud from ~LIZEXI/onecloud:hotfix/lzx-scheduler-host-zoneid-missing to release/2.5.0
* commit '47442d0fb587f44fcada042938d9211eec0183e0': scheduler: 修复 host cache desc 缺失 ZoneID 导致 prefer_zone 机制不生效
This commit is contained in:
+1
@@ -147,6 +147,7 @@ func (b *baseHostDesc) fillZone(host *models.Host) error {
|
||||
return err
|
||||
}
|
||||
b.Zone = zone
|
||||
b.ZoneID = host.ZoneID
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user