mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #98] [MERGED] fix disk recreating when Proxmox converts disk size from 1024G to 1T #228
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#228
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/98
Author: @yukron
Created: 11/12/2020
Status: ✅ Merged
Merged: 11/19/2020
Merged by: @ggongaware
Base:
master← Head:master📝 Commits (2)
5c09cc5fix unwanted disk recreating when Proxmox converts disk size from 1024G to 1Ta342501fixed storage_type & format for disk (#100)📊 Changes
2 files changed (+21 additions, -5 deletions)
View changed files
📝
proxmox/config_qemu.go(+17 -3)📝
proxmox/util.go(+4 -2)📄 Description
When creating disk with 1024G size, Proxmox saves it as 1T and trying to apply the same resource leads to disk size update. See this issues: https://github.com/Telmate/terraform-provider-proxmox/issues/247
This PR should fix it, though was not tested properly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.