Skip to content

Commit

Permalink
Merge pull request #1135 from ioito/hotfix/qx-vm-status
Browse files Browse the repository at this point in the history
fix(ksyun): vm status
  • Loading branch information
ioito authored Dec 16, 2024
2 parents da85bbf + 120c8e5 commit a866568
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/multicloud/ksyun/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ func (ins *SInstance) GetStatus() string {
switch ins.InstanceState.Name {
case "active":
return api.VM_RUNNING
case "stopped":
return api.VM_READY
}
return ins.InstanceState.Name
}
Expand Down

0 comments on commit a866568

Please sign in to comment.