We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func SetKernelVersion(version string) error { v, err := VersionFromString(version) if err != nil || v.Minor == 0 { return fmt.Errorf("invalid kernel version: %s", version) } kernelVersion = v return nil }
this code run in 6.0.x will return invalid kernel version
The text was updated successfully, but these errors were encountered:
fix kernel version validation (#152)
b996840
@gefire, thanks for the report
https://github.com/coroot/coroot-node-agent/releases/tag/v1.22.6
Sorry, something went wrong.
7faec1c
(cherry picked from commit b996840)
No branches or pull requests
func SetKernelVersion(version string) error {
v, err := VersionFromString(version)
if err != nil || v.Minor == 0 {
return fmt.Errorf("invalid kernel version: %s", version)
}
kernelVersion = v
return nil
}
this code run in 6.0.x will return invalid kernel version
The text was updated successfully, but these errors were encountered: