mirror of
https://github.com/containers/podman.git
synced 2025-11-13 09:38:05 +08:00
Add support for shm-size.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #206 Approved by: TomSweeneyRedHat
This commit is contained in:
committed by
Atomic Bot
parent
e6be800ec6
commit
dd0d35deb0
4
vendor/github.com/opencontainers/runtime-tools/filepath/abs.go
generated
vendored
4
vendor/github.com/opencontainers/runtime-tools/filepath/abs.go
generated
vendored
@@ -1,7 +1,6 @@
|
||||
package filepath
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"regexp"
|
||||
"strings"
|
||||
)
|
||||
@@ -11,9 +10,6 @@ var windowsAbs = regexp.MustCompile(`^[a-zA-Z]:\\.*$`)
|
||||
// Abs is a version of path/filepath's Abs with an explicit operating
|
||||
// system and current working directory.
|
||||
func Abs(os, path, cwd string) (_ string, err error) {
|
||||
if os == "windows" {
|
||||
return "", errors.New("Abs() does not support windows yet")
|
||||
}
|
||||
if IsAbs(os, path) {
|
||||
return Clean(os, path), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user