Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: memory type conversion panic #7

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Fix: memory type conversion panic #7

merged 1 commit into from
Dec 5, 2023

Conversation

Tinyblargon
Copy link
Owner

Related to Telmate/proxmox-api-go#283

In Proxmox 8.0.4 the memory property is a number encoded as a string.
Added a function for obtaining the int value from the API, in the future we should use this function instead of direct type casting.

@Tinyblargon Tinyblargon added the bug Something isn't working label Dec 5, 2023
@Tinyblargon Tinyblargon self-assigned this Dec 5, 2023
@Tinyblargon Tinyblargon merged commit 2667be8 into main Dec 5, 2023
1 check passed
@Tinyblargon Tinyblargon deleted the fix-panic branch December 6, 2023 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant