[PR #499] [MERGED] Fix: lxc vmid #510

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

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/499
Author: @Tinyblargon
Created: 10/29/2025
Status: Merged
Merged: 10/29/2025
Merged by: @Tinyblargon

Base: masterHead: fix-lxc-vmid


📝 Commits (3)

  • cab95e1 refactor: use constant instead of string
  • 8f2e121 fix: lxc guest id not cast to proper type
  • 4d84037 fix: ID missing from created VmRef

📊 Changes

2 files changed (+4 additions, -3 deletions)

View changed files

📝 proxmox/config__lxc__new.go (+3 -2)
📝 proxmox/config__lxc__new_test.go (+1 -1)

📄 Description

fixed a bug where setting the ID would lead to a parameter verification error.


🔄 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/499 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 10/29/2025 **Status:** ✅ Merged **Merged:** 10/29/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `fix-lxc-vmid` --- ### 📝 Commits (3) - [`cab95e1`](https://github.com/Telmate/proxmox-api-go/commit/cab95e1a4e0a0258183c4fee2299382012a82a02) refactor: use constant instead of string - [`8f2e121`](https://github.com/Telmate/proxmox-api-go/commit/8f2e12163fc67933f825a1504846b75cfba5f6aa) fix: lxc guest id not cast to proper type - [`4d84037`](https://github.com/Telmate/proxmox-api-go/commit/4d84037c280061cc33d98885248fea05572f51ce) fix: ID missing from created VmRef ### 📊 Changes **2 files changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config__lxc__new.go` (+3 -2) 📝 `proxmox/config__lxc__new_test.go` (+1 -1) </details> ### 📄 Description fixed a bug where setting the ID would lead to a parameter verification error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:27 +03:00
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#510
No description provided.