[GH-ISSUE #151] A halted vm causes failure to list vms #39

Open
opened 2026-03-03 15:29:48 +03:00 by kerem · 0 comments
Owner

Originally created by @sda399 on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/151

Hi,

VirtualMachines returns an error when there is a halted vm in node.
it's pid is null, thus does not pass isFloat pattern check in types.go

I temporarily modified it to return nil, but would be nice to handle this situation.

kudos for your work and providing this api impl

Originally created by @sda399 on GitHub (Jun 11, 2024). Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/151 Hi, VirtualMachines returns an error when there is a halted vm in node. it's pid is null, thus does not pass isFloat pattern check in types.go I temporarily modified it to return nil, but would be nice to handle this situation. kudos for your work and providing this api impl
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-proxmox#39
No description provided.