-
Notifications
You must be signed in to change notification settings - Fork 203
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
Add new pkg/sysctl package #97
Conversation
de12e5a
to
5a65c97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, other than that LGTM. Thanks, @rhatdan !
pkg/sysclt/sysctl.go
Outdated
) | ||
|
||
// ValidateSysctls validates a list of sysctl and returns it. | ||
func ValidateSysctls(strSlice []string) (map[string]string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we call it just Validate
? Calling sysctl.ValidateSysctls
seems redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
Allow for the validation of sysctls passed into container engines. Signed-off-by: Daniel J Walsh <[email protected]>
Signed-off-by: Daniel J Walsh <[email protected]>
LGTM |
…de_json-1.0.72 build(deps): bump serde_json from 1.0.71 to 1.0.72
Allow for the validation of sysctls passed into container engines.
Signed-off-by: Daniel J Walsh [email protected]