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

Add new pkg/sysctl package #97

Merged
merged 2 commits into from
Mar 23, 2020
Merged

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Mar 23, 2020

Allow for the validation of sysctls passed into container engines.

Signed-off-by: Daniel J Walsh [email protected]

@rhatdan
Copy link
Member Author

rhatdan commented Mar 23, 2020

@rhatdan rhatdan force-pushed the sysctl branch 3 times, most recently from de12e5a to 5a65c97 Compare March 23, 2020 11:53
Copy link
Member

@vrothberg vrothberg left a 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 !

)

// ValidateSysctls validates a list of sysctl and returns it.
func ValidateSysctls(strSlice []string) (map[string]string, error) {
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

SGTM

rhatdan added 2 commits March 23, 2020 09:16
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]>
@TomSweeneyRedHat
Copy link
Member

LGTM

@TomSweeneyRedHat TomSweeneyRedHat merged commit 4ae4b24 into containers:master Mar 23, 2020
M1cha pushed a commit to M1cha/common that referenced this pull request Dec 20, 2022
…de_json-1.0.72

build(deps): bump serde_json from 1.0.71 to 1.0.72
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.

3 participants