mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #60] [MERGED] Remove a fatal log to return an error #194
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#194
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/60
Author: @claudusd
Created: 10/29/2019
Status: ✅ Merged
Merged: 11/4/2019
Merged by: @ggongaware
Base:
master← Head:remove_fatal_log📝 Commits (1)
94a05c2Remove a fatal log to return an error📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
proxmox/config_qemu.go(+1 -1)📄 Description
I replace the method
FatalbyPrintbecause theFatalmethod do anos.Exit(1)and the lib stop and doesn't return the err.Stopping the api client with an
os.exitdoesn't stop the promox provider properly.The
log.Fatalis use more than once in this library. If i have time (or someone else) i will do an other PR to clean it.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.