Skip to content

Fix exit code bit parsing#37

Merged
SuperQ merged 1 commit intoprometheus-community:masterfrom
singron:fix-reversed-bits
Jul 17, 2022
Merged

Fix exit code bit parsing#37
SuperQ merged 1 commit intoprometheus-community:masterfrom
singron:fix-reversed-bits

Conversation

@singron
Copy link
Copy Markdown
Contributor

@singron singron commented Mar 17, 2022

The previous code was parsing left-to-right, but the bits are actually
numbered right-to-left (least to most significant). Instead of
converting to strings, just use bitmasks.

Fixes #22

The previous code was parsing left-to-right, but the bits are actually
numbered right-to-left (least to most significant). Instead of
converting to strings, just use bitmasks.

Fixes prometheus-community#22

Signed-off-by: Eric Culp <eculperic@gmail.com>
@singron singron force-pushed the fix-reversed-bits branch from 36d6649 to 6b6fd62 Compare March 17, 2022 22:57
@lahwaacz
Copy link
Copy Markdown
Contributor

Duplicate of #24 and #34

It would be nice if something was merged finally! 🚀

@k0ste
Copy link
Copy Markdown
Contributor

k0ste commented Mar 18, 2022

We can't without write access to repo, may be someone can contact with @SuperQ directly, because public messages here seems doesn't help

@PhilipMay
Copy link
Copy Markdown

Is this nice project unmaintained?

@kfox1111
Copy link
Copy Markdown

Seems like maybe there needs to be some new maintainers added to the project?

@SuperQ SuperQ merged commit 1625848 into prometheus-community:master Jul 17, 2022
SuperQ added a commit that referenced this pull request Aug 4, 2022
First prometheus-community release.

* [FEATURE] Add various new metrics #14
* [BUGFIX] Fix exit code bit parsing #37

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Aug 4, 2022
SuperQ added a commit that referenced this pull request Aug 5, 2022
First prometheus-community release.

* [FEATURE] Add various new metrics #14
* [BUGFIX] Fix exit code bit parsing #37

Signed-off-by: SuperQ <superq@gmail.com>
SuperQ added a commit that referenced this pull request Aug 5, 2022
First prometheus-community release.

* [FEATURE] Add various new metrics #14
* [BUGFIX] Fix exit code bit parsing #37

Signed-off-by: SuperQ <superq@gmail.com>
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.

SMART bit string conversion is reversed

6 participants