mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00

clean up ci failures and add appropriate arch,os exclusion tags Signed-off-by: baude <bbaude@redhat.com>
16 lines
221 B
Go
16 lines
221 B
Go
package qemu
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
func getSocketDir() (string, error) {
|
|
tmpDir, ok := os.LookupEnv("TMPDIR")
|
|
if !ok {
|
|
return "", errors.New("unable to resolve TMPDIR")
|
|
}
|
|
return tmpDir, nil
|
|
}
|