mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 09:25:53 +03:00
[PR #210] [MERGED] Fix issue with omitempty and bool values conflicting with Proxmox API defaults #218
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#218
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/luthermonson/go-proxmox/pull/210
Author: @kernel-sanders
Created: 8/15/2025
Status: ✅ Merged
Merged: 8/18/2025
Merged by: @luthermonson
Base:
main← Head:main📝 Commits (2)
ab221f3fix: 🐛 fix bug where passing false to Privsep for token creation would omit the value (bool's zero value is false) and thus Proxmox would use it's default (true)afc40b1fix: 🐛 fix issue where omitempty prevents a setting due to the default being true📊 Changes
1 file changed (+8 additions, -8 deletions)
View changed files
📝
types.go(+8 -8)📄 Description
Fixes #209
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.