mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.3.0 -> release/2.4.0
* commit '9c91085004c951b0efecd90c974a6024ee65a540': 避免调度到Azure经典类型主机上
This commit is contained in:
@@ -1043,6 +1043,7 @@ func (self *SHost) syncWithCloudHost(extHost cloudprovider.ICloudHost) error {
|
||||
|
||||
self.ManagerId = extHost.GetManagerId()
|
||||
self.IsEmulated = extHost.IsEmulated()
|
||||
self.Enabled = extHost.GetEnabled()
|
||||
|
||||
return nil
|
||||
})
|
||||
|
||||
@@ -73,7 +73,7 @@ func (self *SClassicHost) GetMemSizeMB() int {
|
||||
return 0
|
||||
}
|
||||
func (self *SClassicHost) GetEnabled() bool {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
|
||||
func (self *SClassicHost) GetHostStatus() string {
|
||||
|
||||
Reference in New Issue
Block a user