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(kernel_crawler): kernelversion should always be a string. #165

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

FedeDP
Copy link
Collaborator

@FedeDP FedeDP commented Jul 26, 2023

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area crawler

What this PR does / why we need it:

Sometimes kernelversion is a string (when set).
When left to its default value (ie: 1), it was previously set as integer, making it much harder to programmatically parse the output json.
Default to string value.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@FedeDP
Copy link
Collaborator Author

FedeDP commented Jul 26, 2023

/cc @EXONER4TED

@poiana poiana requested a review from EXONER4TED July 26, 2023 10:52
Copy link
Contributor

@EXONER4TED EXONER4TED left a comment

Choose a reason for hiding this comment

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

/approve

@poiana poiana added the lgtm label Jul 26, 2023
@poiana poiana merged commit b056143 into main Jul 26, 2023
2 checks passed
@poiana poiana deleted the fix/kernelversion_always_string branch July 26, 2023 12:31
@FedeDP FedeDP restored the fix/kernelversion_always_string branch October 23, 2023 13:41
@FedeDP FedeDP deleted the fix/kernelversion_always_string branch October 23, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants