summaryrefslogtreecommitdiff
path: root/pkg/util/utils.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-02-21 15:05:42 +0100
committerPaul Holzinger <pholzing@redhat.com>2022-02-21 16:03:25 +0100
commitfc5cf812c81a10f8a021aae11df5f12ab2a6f6f6 (patch)
treef9761c5f19d400ae8ade1dd310acc71c85b0e804 /pkg/util/utils.go
parentd224a0f8ac4978c3ac399a0940f785892d63daa8 (diff)
downloadpodman-fc5cf812c81a10f8a021aae11df5f12ab2a6f6f6.tar.gz
podman-fc5cf812c81a10f8a021aae11df5f12ab2a6f6f6.tar.bz2
podman-fc5cf812c81a10f8a021aae11df5f12ab2a6f6f6.zip
use GetRuntimeDir() from c/common
To prevent duplication and potential bugs we should use the same GetRuntimeDir function that is used in c/common. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/util/utils.go')
-rw-r--r--pkg/util/utils.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index 925ff9830..bdd1e1383 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -463,8 +463,6 @@ func ParseIDMapping(mode namespaces.UsernsMode, uidMapSlice, gidMapSlice []strin
var (
rootlessConfigHomeDirOnce sync.Once
rootlessConfigHomeDir string
- rootlessRuntimeDirOnce sync.Once
- rootlessRuntimeDir string
)
type tomlOptionsConfig struct {