mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 09:25:53 +03:00
[PR #170] [MERGED] Fix VM state functions #194
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/luthermonson/go-proxmox/pull/170
Author: @rybnico
Created: 10/8/2024
Status: ✅ Merged
Merged: 10/8/2024
Merged by: @luthermonson
Base:
main← Head:fix-vm-is-paused📝 Commits (3)
873dfcfFix VirtualMachine.IsPaused21d1eedFix VirtualMachine state functions020b543Merge remote-tracking branch 'origin/main' into fix-vm-is-paused📊 Changes
2 files changed (+38 additions, -7 deletions)
View changed files
📝
virtual_machine.go(+3 -3)📝
virtual_machine_test.go(+35 -4)📄 Description
The fix for #139 (#166) breaks some VirtualMachine state functions.
I have tried to implement the functions in a way that works with and without a
VirtualMachine.QMPStatus. Without aQMPStatus, we can't be sure of the paused state (because theStatusof a paused VM is stillRunning).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.