mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #374] [MERGED] Optimize #428
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#428
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/374
Author: @Tinyblargon
Created: 11/9/2024
Status: ✅ Merged
Merged: 11/9/2024
Merged by: @Tinyblargon
Base:
master← Head:optimize1📝 Commits (10+)
dc329c7docs: add section about enum variables21258e6refactor: rename enum to containenum9099d6brefactor: optimizeQemuUSB.Validate()8c82a8crefactor: simplifyQemuUSB.mapToAPI()c835a57refactor: rename error veriablee80cdddrefactor: addQemuUsbID.String()4f7c117refactor: remove dead code2341775feat: added error constants33d6d94refactor: remove dead code26d81e8refactor: should be value not pointer📊 Changes
8 files changed (+116 additions, -241 deletions)
View changed files
📝
docs/style-guide/sdk.md(+18 -2)📝
proxmox/config_group.go(+17 -27)📝
proxmox/config_group_test.go(+24 -42)📝
proxmox/config_qemu.go(+0 -43)📝
proxmox/config_qemu_test.go(+1 -1)📝
proxmox/config_qemu_usb.go(+54 -124)📝
proxmox/config_user.go(+1 -1)📝
proxmox/session.go(+1 -1)📄 Description
QemuUSB.GroupName.Validate()to have it's errors as constants.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.