mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
vendor of containers/(common, storage, image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/pkg/config/default_linux.go
generated
vendored
2
vendor/github.com/containers/common/pkg/config/default_linux.go
generated
vendored
@@ -30,7 +30,7 @@ func getDefaultProcessLimits() []string {
|
||||
val := strings.TrimSuffix(string(dat), "\n")
|
||||
max, err := strconv.ParseUint(val, 10, 64)
|
||||
if err == nil {
|
||||
rlim = unix.Rlimit{Cur: uint64(max), Max: uint64(max)}
|
||||
rlim = unix.Rlimit{Cur: max, Max: max}
|
||||
}
|
||||
}
|
||||
defaultLimits := []string{}
|
||||
|
||||
Reference in New Issue
Block a user