-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: overhaul qemu disks implementation (#892)
* feat: re-implement the way qemu disks are handled These changes were pulled from Tinyblargon's branch which was out of sync with the Telmate master branch. I merely dealt with the merge conflicts so we could re-submit a new merge request that can be applied cleanly. Ref: #794 * fix: no functional change, just making github CI happy * Update proxmox-api-go dependency * Apply patches * fix: typos * fix: panic when `disks` is empty * docs: change disks property names * chore: update dependencies * Add debug logging --------- Co-authored-by: hestia <[email protected]> Co-authored-by: mleone87 <[email protected]>
- Loading branch information
1 parent
8fb7db0
commit 8510bc1
Showing
9 changed files
with
1,741 additions
and
283 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package proxmox | ||
|
||
const ( | ||
errorUint string = "expected type of %s to be a positive number (uint)" | ||
errorFloat string = "expected type of %s to be a float" | ||
errorString string = "expected type of %s to be string" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8510bc1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly this fails. For everyone requiring the qemu disk error with an unattached disc, here's the solution.