pkg/utils/sysctl/sysctl_linux.go: fix typo.

This commit is contained in:
Paulo Pires 2017-02-03 04:47:43 +00:00
parent 162b73e44f
commit 2e90a8cc33

View File

@ -24,7 +24,7 @@ import (
// Sysctl provides a method to set/get values from /proc/sys - in linux systems // Sysctl provides a method to set/get values from /proc/sys - in linux systems
// new interface to set/get values of variables formerly handled by sysctl syscall // new interface to set/get values of variables formerly handled by sysctl syscall
// If optional `params` have only one string value - this function will // If optional `params` have only one string value - this function will
// set this value into coresponding sysctl variable // set this value into corresponding sysctl variable
func Sysctl(name string, params ...string) (string, error) { func Sysctl(name string, params ...string) (string, error) {
if len(params) > 1 { if len(params) > 1 {
return "", fmt.Errorf("unexcepted additional parameters") return "", fmt.Errorf("unexcepted additional parameters")