mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 09:25:53 +03:00
[PR #213] [MERGED] fix: 🐛 fix UpdateACL function to take correct parameters #216
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#216
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/213
Author: @kernel-sanders
Created: 8/27/2025
Status: ✅ Merged
Merged: 9/8/2025
Merged by: @luthermonson
Base:
main← Head:main📝 Commits (1)
3f43b0bfix: 🐛 fix UpdateACL function to take correct parameters📊 Changes
2 files changed (+14 additions, -14 deletions)
View changed files
📝
access.go(+2 -2)📝
types.go(+12 -12)📄 Description
The
ACLstruct is what the/access/aclendpoint returns to a GET request, however a PUT requires we sendACLOptions. This pull request modifies theUpdateACLfunction in access.go to send theACLOptionswhere it previously tried to send theACLstruct which resulted in a 400 error.GET
/access/aclAPI docs:ACLstruct from types.go:PUT
/access/aclAPI docs:ACLOptionsstruct from types.go:fixes #180
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.