Skip to content

Delete log.Fatal calls and replace with error returns.#9086

Merged
ivorybilled merged 3 commits intomasterfrom
deleteLogFatalCalls
Apr 6, 2021
Merged

Delete log.Fatal calls and replace with error returns.#9086
ivorybilled merged 3 commits intomasterfrom
deleteLogFatalCalls

Conversation

@ivorybilled
Copy link
Copy Markdown
Contributor

Removing all calls other than in tests. Calls to metric.new have no chance of returning an error, so we can ignore it (it's a mistake that it returns an 'error', and could be refactored soon)

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivorybilled ivorybilled merged commit ef2def2 into master Apr 6, 2021
@ivorybilled ivorybilled deleted the deleteLogFatalCalls branch April 6, 2021 21:35
jblesener pushed a commit to jblesener/telegraf that referenced this pull request Apr 18, 2021
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
reimda pushed a commit that referenced this pull request Apr 28, 2021
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go

(cherry picked from commit ef2def2)
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go

(cherry picked from commit ef2def2)
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Aug 28, 2025
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants