[PR #462] Feat: get pending current config #490

Open
opened 2026-02-28 00:42:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/462
Author: @Tinyblargon
Created: 9/18/2025
Status: 🔄 Open

Base: masterHead: feat-get-pending


📝 Commits (3)

  • e444305 refactor: make test config reusable
  • bf825ae refactor: rename function
  • 12f4ce3 feat: Get pending current config

📊 Changes

5 files changed (+141 additions, -45 deletions)

View changed files

📝 proxmox/config__lxc__new.go (+1 -1)
📝 proxmox/config__qemu.go (+2 -2)
📝 proxmox/config__qemu_test.go (+24 -40)
📝 proxmox/vmref.go (+34 -2)
📝 proxmox/vmref_test.go (+80 -0)

📄 Description

Add support for getting the pending config, which is an optimization for getting the pending flag and the normal config in 1 API call.

Reduced duplicate code between tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/462 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 9/18/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat-get-pending` --- ### 📝 Commits (3) - [`e444305`](https://github.com/Telmate/proxmox-api-go/commit/e444305733dd489d92a73fe9fd87da6d4338201a) refactor: make test config reusable - [`bf825ae`](https://github.com/Telmate/proxmox-api-go/commit/bf825ae00ff2789aeba82961eee795eefdae6309) refactor: rename function - [`12f4ce3`](https://github.com/Telmate/proxmox-api-go/commit/12f4ce3208910589ed6f80f4f3fb5acc6908cd58) feat: Get pending current config ### 📊 Changes **5 files changed** (+141 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config__lxc__new.go` (+1 -1) 📝 `proxmox/config__qemu.go` (+2 -2) 📝 `proxmox/config__qemu_test.go` (+24 -40) 📝 `proxmox/vmref.go` (+34 -2) 📝 `proxmox/vmref_test.go` (+80 -0) </details> ### 📄 Description Add support for getting the pending config, which is an optimization for getting the pending flag and the normal config in 1 API call. Reduced duplicate code between tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
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/proxmox-api-go#490
No description provided.