fix: 移除默认调度策略

This commit is contained in:
Qu Xuan
2020-06-03 15:23:08 +08:00
parent 9f4a4028b8
commit f70ca13563
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {