mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #524] [MERGED] feat: delete ha on guest deletion #527
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#527
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/524
Author: @Tinyblargon
Created: 11/24/2025
Status: ✅ Merged
Merged: 11/24/2025
Merged by: @Tinyblargon
Base:
master← Head:refactore-SelectID📝 Commits (2)
8b7766frefactor: replace error with bool379d30bfeat: Delete HA when enabled📊 Changes
3 files changed (+15 additions, -9 deletions)
View changed files
📝
proxmox/client__new.go(+3 -3)📝
proxmox/config__guest__resource.go(+3 -3)📝
proxmox/vmref.go(+9 -3)📄 Description
Changed
RawGuestResources.SelectID()to return a bool instead of a static error. This would make it easier for downstream projects to check if the ID exists.Added deletion of the HA state to
VmRef.Delete()simplifying logic downstream.Related to https://github.com/Telmate/terraform-provider-proxmox/issues/1449
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.