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

Added type casting for Distro Version and Distro Release. #2918

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Krishan-Saraswat
Copy link
Contributor

Distro version and release should be compared as integer, added type cast of string to integer.

Before type casting-
For RHEL 10 also this is getting executed:

  if dist.name == "rhel" and dist.version <= "7" and dist.release <= "4":
            self.sos_cmd = "sosreport"

Distro version and release should be compared as integer,
added type cast of string to integer.

Signed-off-by: Krishan Gopal Saraswat <[email protected]>
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.

1 participant