Skip to content

Fix float conversion and Connection issue#7002

Merged
danielnelson merged 4 commits into
influxdata:masterfrom
garciaolais:patch-2
Feb 11, 2020
Merged

Fix float conversion and Connection issue#7002
danielnelson merged 4 commits into
influxdata:masterfrom
garciaolais:patch-2

Conversation

@garciaolais
Copy link
Copy Markdown
Contributor

@garciaolais garciaolais commented Feb 9, 2020

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

this solve the next 2 issues that @serrj-sv reported

@garciaolais garciaolais changed the title Patch 2 - Fix float conversion and Connection issue Feb 9, 2020
@garciaolais garciaolais mentioned this pull request Feb 9, 2020
3 tasks

err := m.getFields()
if err != nil {
disconnect(m)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we need to disconnect?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Because if something wrong happened we need to close the connection,

for example, if I turn off my serial controller and then turn on, I get multiple errors about the connection.

@danielnelson danielnelson added this to the 1.14.0 milestone Feb 11, 2020
@danielnelson danielnelson added the fix pr to fix corresponding bug label Feb 11, 2020
@danielnelson danielnelson merged commit 9d97ed2 into influxdata:master Feb 11, 2020
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix pr to fix corresponding bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants