[PR #126] [MERGED] LXC Container HA state support #246

Closed
opened 2026-02-28 00:41:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/126
Author: @yesrod
Created: 7/5/2021
Status: Merged
Merged: 7/8/2021
Merged by: @ggongaware

Base: masterHead: container_ha_support


📝 Commits (4)

  • b1d6cff First attempt to add HA State support to container
  • 25ad9ea Fix copy-paste assumptions
  • 0cd6835 Remove hastate from LXC parameter map
  • c718a9f Remove hastate parameter in a different place

📊 Changes

1 file changed (+20 additions, -0 deletions)

View changed files

📝 proxmox/config_lxc.go (+20 -0)

📄 Description

This closes #125 by extending the existing support for setting HA state on VMs to LXC containers.

This change reuses the existing UpdateVMHA function and adds the necessary parameters to the LXC side of the code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/126 **Author:** [@yesrod](https://github.com/yesrod) **Created:** 7/5/2021 **Status:** ✅ Merged **Merged:** 7/8/2021 **Merged by:** [@ggongaware](https://github.com/ggongaware) **Base:** `master` ← **Head:** `container_ha_support` --- ### 📝 Commits (4) - [`b1d6cff`](https://github.com/Telmate/proxmox-api-go/commit/b1d6cff09d42b58853cc63e81a94b476cbd5033b) First attempt to add HA State support to container - [`25ad9ea`](https://github.com/Telmate/proxmox-api-go/commit/25ad9ea0ab48c8a7a8e79c279ad537fff4e56ef7) Fix copy-paste assumptions - [`0cd6835`](https://github.com/Telmate/proxmox-api-go/commit/0cd6835619b6a9c74d8b3557e413625a4c56cfa7) Remove hastate from LXC parameter map - [`c718a9f`](https://github.com/Telmate/proxmox-api-go/commit/c718a9f080ecbf5f2649f0fdc9fc9a36438583ab) Remove hastate parameter in a different place ### 📊 Changes **1 file changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config_lxc.go` (+20 -0) </details> ### 📄 Description This closes #125 by extending the existing support for setting HA state on VMs to LXC containers. This change reuses the existing UpdateVMHA function and adds the necessary parameters to the LXC side of the code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:41:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#246
No description provided.