mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #459] [MERGED] Feat: get pending config #486
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#486
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/459
Author: @Tinyblargon
Created: 9/15/2025
Status: ✅ Merged
Merged: 9/16/2025
Merged by: @Tinyblargon
Base:
master← Head:#458📝 Commits (5)
f939f8afeat: check"data"key exists065f6aafeat: get pending changesb16e66atest: use mock for deeper test0d49f3cfeat: get active config1848e54docs: use correct terms for qemu & lxc📊 Changes
12 files changed (+478 additions, -38 deletions)
View changed files
📝
proxmox/client__api.go(+5 -0)📝
proxmox/client__api__mock.go(+12 -4)📝
proxmox/client__api__reusable.go(+7 -4)📝
proxmox/client__new.go(+27 -1)📝
proxmox/client__new__mock.go(+35 -3)📝
proxmox/config__guest.go(+2 -12)📝
proxmox/config__lxc__new.go(+24 -1)📝
proxmox/config__lxc__new_test.go(+116 -2)📝
proxmox/config__qemu.go(+37 -11)📝
proxmox/config__qemu_test.go(+136 -0)📝
proxmox/vmref.go(+38 -0)📝
proxmox/vmref_test.go(+39 -0)📄 Description
Add ways to check if there are pending config changes.
Add a way to get the active config, as the normal config has the pending changes included.
Improved some tests due to the new mocks.
Closes #458
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.