mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #436] [MERGED] fix: no error returned when no version obtained from api #469
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#469
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/436
Author: @Tinyblargon
Created: 7/12/2025
Status: ✅ Merged
Merged: 7/12/2025
Merged by: @Tinyblargon
Base:
master← Head:version-error📝 Commits (2)
633fa8ffix: no error returned when no version obtained from apidf34fd6fix: variable wrong case📊 Changes
2 files changed (+36 additions, -14 deletions)
View changed files
📝
proxmox/client.go(+17 -7)📝
proxmox/client_test.go(+19 -7)📄 Description
Return an error when we couldn't obtain the version from the API, instead of setting the version to
0.0.0causing weird behaviors elsewhere.Related to: https://github.com/Telmate/terraform-provider-proxmox/issues/1350
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.