[GH-ISSUE #178] Wrong onBoot type ? #45

Open
opened 2026-03-03 15:29:51 +03:00 by kerem · 0 comments
Owner

Originally created by @dragonis41 on GitHub (Nov 6, 2024).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/178

Hello !

In the VirtualMachineConfig structure, the OnBoot type is defined as "int" but for better parsing and cleaner code it should be of the type "bool" or maybe at least "IntOrBool" ?
https://github.com/luthermonson/go-proxmox/blob/main/types.go#L345
https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/config

Any suggestions on this ?

Originally created by @dragonis41 on GitHub (Nov 6, 2024). Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/178 Hello ! In the `VirtualMachineConfig` structure, the `OnBoot` type is defined as "int" but for better parsing and cleaner code it should be of the type "bool" or maybe at least "IntOrBool" ? https://github.com/luthermonson/go-proxmox/blob/main/types.go#L345 https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/config Any suggestions on this ?
Sign in to join this conversation.
No labels
pull-request
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/go-proxmox#45
No description provided.