[PR #520] [MERGED] fix: panic due to pending state #521

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

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/520
Author: @Tinyblargon
Created: 11/17/2025
Status: Merged
Merged: 11/17/2025
Merged by: @Tinyblargon

Base: masterHead: tf-#1452


📝 Commits (1)

  • a28c74d fix: panic due to pending state

📊 Changes

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

View changed files

📝 proxmox/vmref.go (+19 -3)
📝 proxmox/vmref_test.go (+64 -0)

📄 Description

When getting the pending config some items don't have a value property.
This means the value go set to nil, leading to panics downstream.

Fixes https://github.com/Telmate/terraform-provider-proxmox/issues/1452


🔄 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/520 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 11/17/2025 **Status:** ✅ Merged **Merged:** 11/17/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `tf-#1452` --- ### 📝 Commits (1) - [`a28c74d`](https://github.com/Telmate/proxmox-api-go/commit/a28c74da9ccee522f59ad5cfdd23adee3ec6f2fc) fix: panic due to pending state ### 📊 Changes **2 files changed** (+83 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/vmref.go` (+19 -3) 📝 `proxmox/vmref_test.go` (+64 -0) </details> ### 📄 Description When getting the pending config some items don't have a `value` property. This means the value go set to `nil`, leading to panics downstream. Fixes https://github.com/Telmate/terraform-provider-proxmox/issues/1452 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-02-28 00:42:31 +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#521
No description provided.