mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #185] [MERGED] Add a simpler disk creation method #292
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#292
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/185
Author: @jqueuniet
Created: 7/12/2022
Status: ✅ Merged
Merged: 7/12/2022
Merged by: @mleone87
Base:
master← Head:disk_creation📝 Commits (1)
950ced1Add a simpler disk creation method📊 Changes
1 file changed (+17 additions, -0 deletions)
View changed files
📝
proxmox/client.go(+17 -0)📄 Description
This PR might be somewhat controversial as creating a disk is already implemented by the client method
CreateVMDisk. However, as a direct client user, I found it confusing to use, somewhat tailored for the Terraform use-case where the full config is applied each time and asking a lot of parameters like the disk full path and the disk slot which aren't necessary using theqemu/<vmid>/configendpoint.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
lvmback-end #377