mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[PR #85] [MERGED] remove fatal logging in LXC API #218
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#218
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/85
Author: @hensur
Created: 7/27/2020
Status: ✅ Merged
Merged: 7/27/2020
Merged by: @ggongaware
Base:
master← Head:remove-fatal-logging📝 Commits (1)
9e9b617remove fatal logging in LXC API📊 Changes
1 file changed (+2 additions, -9 deletions)
View changed files
📝
proxmox/config_lxc.go(+2 -9)📄 Description
Hey,
I just found this client because I want to retrieve some information about my LXCs from the proxmox API.
However, I'd like to handle errors myself. I'd rather not have my whole program crash because some API request returned an error.
This PR removes the usage of log.Fatal and returns the error directly. I guess this also fixes #51
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.