[PR #113] [MERGED] Fix type variable return for link_down #237

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

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/113
Author: @Support-Green-IT-Solutions
Created: 4/2/2021
Status: Merged
Merged: 4/2/2021
Merged by: @ggongaware

Base: masterHead: fix-link_down-type-bool


📝 Commits (1)

  • 6378d99 Fix type variable return for link_down

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 proxmox/config_qemu.go (+5 -0)

📄 Description

Hi! This solves errors like Error: network.0.link_down: '' expected type 'bool', got unconvertible type 'int' when importing existing configuration (since Proxmox responds with integers for this configuration and terraform expects Boolean, see scheme). #103


🔄 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/113 **Author:** [@Support-Green-IT-Solutions](https://github.com/Support-Green-IT-Solutions) **Created:** 4/2/2021 **Status:** ✅ Merged **Merged:** 4/2/2021 **Merged by:** [@ggongaware](https://github.com/ggongaware) **Base:** `master` ← **Head:** `fix-link_down-type-bool` --- ### 📝 Commits (1) - [`6378d99`](https://github.com/Telmate/proxmox-api-go/commit/6378d9972c57ac1c17416b2272baf0b5ace7e405) Fix type variable return for `link_down` ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config_qemu.go` (+5 -0) </details> ### 📄 Description Hi! This solves errors like Error: network.0.link_down: '' expected type 'bool', got unconvertible type 'int' when importing existing configuration (since Proxmox responds with integers for this configuration and terraform expects Boolean, see scheme). #103 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:41:20 +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#237
No description provided.