mirror of
https://github.com/amidaware/rmmagent.git
synced 2026-04-26 14:55:47 +03:00
[PR #18] [CLOSED] Error Handling for NewAgentConfig #109
Labels
No labels
bug
bug
enhancement
fixed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rmmagent#109
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/amidaware/rmmagent/pull/18
Author: @redanthrax
Created: 8/19/2022
Status: ❌ Closed
Base:
develop← Head:ErrorHandling📝 Commits (1)
87c035cError Handling for NewAgentConfig📊 Changes
3 files changed (+10 additions, -7 deletions)
View changed files
📝
agent/agent.go(+4 -1)📝
agent/agent_unix.go(+3 -3)📝
agent/agent_windows.go(+3 -3)📄 Description
If NewAgentConfig had an error an empty agent config would be returned and the agent would continue.
Added error handling for the instance an empty config was returned and logged the error.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.