mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 17:35:48 +03:00
[PR #169] [MERGED] Fix VirtualMachine.IsPaused #192
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#192
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/169
Author: @rybnico
Created: 10/5/2024
Status: ✅ Merged
Merged: 10/6/2024
Merged by: @luthermonson
Base:
main← Head:fix-vm-is-paused📝 Commits (1)
873dfcfFix VirtualMachine.IsPaused📊 Changes
2 files changed (+35 additions, -1 deletions)
View changed files
📝
virtual_machine.go(+1 -1)📝
virtual_machine_test.go(+34 -0)📄 Description
Found a small bug in the VirtualMachine.IsPaused function:
The condition in the IsPaused function checks whether the VM is running, not whether it's in a pause state.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.