Skip to content

Commit

Permalink
Merge pull request #1136 from ioito/automated-cherry-pick-of-#1135-up…
Browse files Browse the repository at this point in the history
…stream-release-3.11.9

Automated cherry pick of #1135: fix(ksyun): vm status
  • Loading branch information
ioito authored Dec 16, 2024
2 parents 55e3e20 + f10e5ce commit 334980f
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 334980f

Please sign in to comment.