mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #137] [MERGED] Allow explicit empty parameters in request parameters #257
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#257
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/137
Author: @wynro
Created: 8/25/2021
Status: ✅ Merged
Merged: 8/25/2021
Merged by: @ggongaware
Base:
master← Head:master📝 Commits (1)
1360747Allow explicit empty parameters in request parameters📊 Changes
3 files changed (+104 additions, -3 deletions)
View changed files
📝
proxmox/client.go(+1 -1)📝
proxmox/session.go(+13 -2)➕
proxmox/session_test.go(+90 -0)📄 Description
Sometimes, it may be useful to allow for empty parameters in the requests.
The example that I'm finding is to allow removing the comment from a pool, but I'm sure it will be useful in other places.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.