mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[PR #426] [MERGED] Fix: Lxc network #461
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#461
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/426
Author: @Tinyblargon
Created: 6/17/2025
Status: ✅ Merged
Merged: 6/17/2025
Merged by: @Tinyblargon
Base:
master← Head:lxc-network📝 Commits (6)
a6ce74dperf: reduce memory footprinte436da6feat: never return MAC as nil843355bfix: deleted network always invalidc9d3548fix: can't unste address and gateway276220ffix: duplicate check not accounting for deletionfb31b4etest: missed code path📊 Changes
3 files changed (+286 additions, -160 deletions)
View changed files
📝
proxmox/config_lxc__networks.go(+103 -69)📝
proxmox/config_lxc__networks_test.go(+12 -0)📝
proxmox/config_lxc_new_test.go(+171 -91)📄 Description
Mostly bug fixes for the new LXC networks.
Set some properties that PVE will always return as
never nil.Reorganize structs to remove padding bytes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.