mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[PR #36] [MERGED] Support setting pool on VmRef to create VMs in resource pools #173
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#173
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/36
Author: @carlpett
Created: 7/9/2019
Status: ✅ Merged
Merged: 7/10/2019
Merged by: @ggongaware
Base:
master← Head:pool-support📝 Commits (1)
40079e4Support setting pool on VmRef to create VMs in resource pools📊 Changes
2 files changed (+12 additions, -0 deletions)
View changed files
📝
proxmox/client.go(+5 -0)📝
proxmox/config_qemu.go(+7 -0)📄 Description
This PR adds some early support for creating VMs in resource pools. I'm not super happy with having to if-check it like this, but the func for Create and Clone don't have a similar signature (create takes the node name string, while clone takes the full vmref) to centralize it without breaking APIs.
Also, I'm not sure if there are more places we should add it to?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.