[PR #97] [MERGED] converting nic's firewall integers to bool #226

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

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/97
Author: @yukron
Created: 11/9/2020
Status: Merged
Merged: 11/9/2020
Merged by: @ggongaware

Base: masterHead: master


📝 Commits (1)

  • 8faba04 converting nic's firewall integers to bool

📊 Changes

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

View changed files

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

📄 Description

This solves errors like Error: network.0.firewall: '' 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).


🔄 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/97 **Author:** [@yukron](https://github.com/yukron) **Created:** 11/9/2020 **Status:** ✅ Merged **Merged:** 11/9/2020 **Merged by:** [@ggongaware](https://github.com/ggongaware) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`8faba04`](https://github.com/Telmate/proxmox-api-go/commit/8faba0473db014ebe7608e31c9d8a18c55b1073c) converting nic's firewall integers to bool ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config_qemu.go` (+5 -0) </details> ### 📄 Description This solves errors like `Error: network.0.firewall: '' 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). --- <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:17 +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#226
No description provided.