mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
bump buildah to latest
Also includes a small change to make us of https://github.com/containers/buildah/pull/5039 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
16
vendor/github.com/containers/buildah/pkg/util/resource_windows.go
generated
vendored
Normal file
16
vendor/github.com/containers/buildah/pkg/util/resource_windows.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/docker/go-units"
|
||||
)
|
||||
|
||||
func ParseUlimit(ulimit string) (*units.Ulimit, error) {
|
||||
ul, err := units.ParseUlimit(ulimit)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("ulimit option %q requires name=SOFT:HARD, failed to be parsed: %w", ulimit, err)
|
||||
}
|
||||
|
||||
return ul, nil
|
||||
}
|
||||
Reference in New Issue
Block a user