mirror of
https://github.com/containers/podman.git
synced 2025-11-02 23:39:52 +08:00
vendor c/common@0ededd18a1
Update the login tests to reflect the latest changes to allow http{s}
prefixes (again) to address bugzilla.redhat.com/show_bug.cgi?id=2062072.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
10
vendor/github.com/containers/common/pkg/config/default_linux.go
generated
vendored
10
vendor/github.com/containers/common/pkg/config/default_linux.go
generated
vendored
@ -3,6 +3,7 @@ package config
|
||||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@ -48,3 +49,12 @@ func getDefaultProcessLimits() []string {
|
||||
}
|
||||
return defaultLimits
|
||||
}
|
||||
|
||||
// getDefaultTmpDir for linux
|
||||
func getDefaultTmpDir() string {
|
||||
// first check the TMPDIR env var
|
||||
if path, found := os.LookupEnv("TMPDIR"); found {
|
||||
return path
|
||||
}
|
||||
return "/var/tmp"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user