forked from Ivasoft/traefik
2
vendor/github.com/opencontainers/runc/rlimit_linux.go
generated
vendored
2
vendor/github.com/opencontainers/runc/rlimit_linux.go
generated
vendored
@@ -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