Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix undefined name in daqstore for influx2 #889

Merged

Conversation

mauroalexandre
Copy link
Contributor

No description provided.

@@ -112,7 +112,7 @@ function Influx(_settings, _log) {
} else {
const point = new Point(tag.id)
.tag('id', tag.id)
.tag('name', tag.name)
.tag('name', tag.tagref.name)
Copy link
Member

Choose a reason for hiding this comment

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

Hi thanks for the PR, I'm not sure if all devices set the tagref, what do you think about my suggestion
.tag('name', tag.name || tag.tagref.name)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

perfect

@unocelli unocelli merged commit aad5ae3 into frangoteam:master Aug 14, 2023
@unocelli
Copy link
Member

Thanks a lot 😉

unocelli added a commit that referenced this pull request Aug 14, 2023
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.

2 participants