mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #326] Include ConfigQemu.Agent when creating params struct even when 0 #395
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/326
Author: @mollstam
Created: 4/11/2024
Status: 🔄 Open
Base:
master← Head:fix/config-qemu-agent📝 Commits (1)
db6a15ffix to not emit "agent" from params when 0📊 Changes
1 file changed (+2 additions, -3 deletions)
View changed files
📝
proxmox/config_qemu.go(+2 -3)📄 Description
The current code does not set
params["agent"]to0when set to0inConfigQemu.Agent, erroneously identifying0as "no value", making it never possible to e.g. update from agent1to0. I believe this is an error, let me know if not. 😬🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.