mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #413] feat(config-qemu-memory-string): parse memory capacity both from string and integer. #451
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#451
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/Telmate/proxmox-api-go/pull/413
Author: @Andrew-Bezzubtsev
Created: 4/18/2025
Status: 🔄 Open
Base:
master← Head:feature/PROXMOX-8.4.1-memory-capacity📝 Commits (1)
58f7740feat(config-qemu-memory-string): parse memory capacity both from string and integer representations.📊 Changes
2 files changed (+90 additions, -3 deletions)
View changed files
📝
proxmox/config_qemu_memory.go(+46 -3)📝
proxmox/config_qemu_memory_test.go(+44 -0)📄 Description
As for 8.4.1 (maybe earlier),
GET /api2/json/nodes/{node}/qemu/{vmid}/configgives string value for"memory"field. This PR secures correct handling of both numeric and literal values.For reference, see Proxmox VE API reference.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.