mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #292] [MERGED] fix: Disk incorrectly formatted with lvm back-end #377
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#377
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/292
Author: @Tinyblargon
Created: 1/3/2024
Status: ✅ Merged
Merged: 1/4/2024
Merged by: @mleone87
Base:
master← Head:BugFix-DiskFormat📝 Commits (4)
953450afix: disk format can be optional02f3404fix: add missing support for disk syntaxccd9e2cfix: disk incorrectly formatted for lvm storageaf11eb2fix: node not set causes disk migration📊 Changes
8 files changed (+1066 additions, -108 deletions)
View changed files
📝
proxmox/config_qemu.go(+2 -1)📝
proxmox/config_qemu_disk.go(+120 -46)📝
proxmox/config_qemu_disk_ide.go(+3 -0)📝
proxmox/config_qemu_disk_sata.go(+3 -0)📝
proxmox/config_qemu_disk_scsi.go(+3 -0)📝
proxmox/config_qemu_disk_test.go(+151 -2)📝
proxmox/config_qemu_disk_virtio.go(+3 -0)📝
proxmox/config_qemu_test.go(+781 -59)📄 Description
Ran into a bug where the disk format was returned empty by the library.
Apparently the lvm, and file storage back-ends use different syntax for the disks:
storage:100/vm-100-disk-0.rawstorage:vm-100-disk-0🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.