Skip to content

Commit

Permalink
fix: 移除默认调度策略
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu Xuan committed Jun 3, 2020
1 parent 7873fa5 commit c2ce046
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/multicloud/azure/classic_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/multicloud/azure/classic_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/multicloud/azure/classic_vpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c2ce046

Please sign in to comment.