mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix: 移除默认调度策略
This commit is contained in:
@@ -51,7 +51,7 @@ func (self *SClassicHost) IsEmulated() bool {
|
||||
}
|
||||
|
||||
func (self *SClassicHost) GetStatus() string {
|
||||
return api.HOST_STATUS_RUNNING
|
||||
return api.HOST_STATUS_READY
|
||||
}
|
||||
|
||||
func (self *SClassicHost) Refresh() error {
|
||||
|
||||
@@ -54,7 +54,7 @@ func (self *SClassicNetwork) IsEmulated() bool {
|
||||
}
|
||||
|
||||
func (self *SClassicNetwork) GetStatus() string {
|
||||
return api.NETWORK_STATUS_UNAVAILABLE
|
||||
return api.NETWORK_STATUS_AVAILABLE
|
||||
}
|
||||
|
||||
func (self *SClassicNetwork) Delete() error {
|
||||
|
||||
@@ -201,7 +201,7 @@ func (self *SClassicVpc) GetRegion() cloudprovider.ICloudRegion {
|
||||
}
|
||||
|
||||
func (self *SClassicVpc) GetStatus() string {
|
||||
return api.VPC_STATUS_UNAVAILABLE
|
||||
return api.VPC_STATUS_AVAILABLE
|
||||
}
|
||||
|
||||
func (self *SClassicVpc) Refresh() error {
|
||||
|
||||
Reference in New Issue
Block a user