mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #738 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-always-enable-sched-policy to release/2.4.0
* commit '09750de93436edac99890b252b7b4e1f0cd5b12b': 总是允许使用调度标签,无论公有云还是私有云
This commit is contained in:
@@ -132,11 +132,7 @@ func getNetworkCount(zone *SZone) int {
|
||||
}
|
||||
|
||||
func isSchedPolicySupported(zone *SZone) bool {
|
||||
if zone != nil {
|
||||
return !zone.isManaged()
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
func getMinNicCount(zone *SZone) int {
|
||||
|
||||
Reference in New Issue
Block a user