Skip to content

Commit

Permalink
Merge pull request #827 from ioito/hotfix/qx-vmware-desc-sync
Browse files Browse the repository at this point in the history
fix(vmware): desc sync
  • Loading branch information
ioito authored Mar 19, 2024
2 parents 615be19 + bc127b7 commit 977c1b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/multicloud/esxi/virtualmachine.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,14 @@ func (svm *SVirtualMachine) GetHostname() string {
return svm.GetName()
}

func (svm *SVirtualMachine) GetDescription() string {
vm := svm.getVirtualMachine()
if vm != nil && vm.Config != nil {
return vm.Config.Annotation
}
return ""
}

func (svm *SVirtualMachine) GetStatus() string {
// err := svm.CheckFileInfo(context.Background())
// if err != nil {
Expand Down

0 comments on commit 977c1b8

Please sign in to comment.