mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
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#243
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/120
Author: @tagur87
Created: 5/7/2021
Status: ✅ Merged
Merged: 5/7/2021
Merged by: @ggongaware
Base:
master← Head:delete-node-issue📝 Commits (1)
51bd4aeFix delete issue caused by []byte marshall📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
proxmox/client.go(+8 -1)📄 Description
Based on suggested fix in #104
Delete's would not work properly because of the way the params were
passed through. If an empty list of params was passed, it would actually
Marshall that to a byte string like [34 34]
This is representative of '""' in the body of a curl http call. The
delete function requires no params so this may really be oboslete, but
this is a good workaround for now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.