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

Another instance of possible incorrect class comparison #1790

Open
comay opened this issue Mar 12, 2023 · 0 comments
Open

Another instance of possible incorrect class comparison #1790

comay opened this issue Mar 12, 2023 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.

Comments

@comay
Copy link

comay commented Mar 12, 2023

Description

While examining a system with Ohai 15.6.3 that was exhibiting the issue called out in #1414, I did a code sweep and noticed there is another instance where the class string is compared against the string "Mash" rather than using is_a?(Mash).

Ohai Version

15.6.3

Platform Version

Ubuntu 20.04.5 LTS

Ohai Output

AFAIK, there is no effect on the output of ohai but I wanted to log this bug report in case this was overlooked.

@comay comay added Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected. labels Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

1 participant