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: Safely type assert enum bits #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

powersj
Copy link

@powersj powersj commented Apr 24, 2024

fixes: #44

models/format_bits.go Outdated Show resolved Hide resolved
@Hipska
Copy link

Hipska commented May 28, 2024

@sleepinggenius2 any feedback?

@Hipska
Copy link

Hipska commented Jun 25, 2024

@sleepinggenius2 ?

powersj added a commit to powersj/telegraf that referenced this pull request Aug 14, 2024
There is an upstream PR to resolve an issue when a nil value is passed.
However that PR has not been looked at or merged. As such, this attempts
to catch that scenario in Telegraf first.

See: sleepinggenius2/gosmi#45

fixes: influxdata#15200
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.

panic: interface conversion: interface {} is nil, not []uint8
2 participants