mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
error strings should not be capitalized or end with punctuation
Signed-off-by: yupeng <yu.peng36@zte.com.cn>
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ var rlimitMap = map[string]int{
|
||||
func strToRlimit(key string) (int, error) {
|
||||
rl, ok := rlimitMap[key]
|
||||
if !ok {
|
||||
return 0, fmt.Errorf("Wrong rlimit value: %s", key)
|
||||
return 0, fmt.Errorf("wrong rlimit value: %s", key)
|
||||
}
|
||||
return rl, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user