aboutsummaryrefslogtreecommitdiff
path: root/pkg/util/utils.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-02-21 15:05:42 +0100
committerMatthew Heon <mheon@redhat.com>2022-02-23 14:31:39 -0500
commit2b85f62a23e592a115fe8cab0c1b1f4b2dda36da (patch)
tree0b6b11bf3a5c2a9416247472105f559003e76d09 /pkg/util/utils.go
parent82f4760deaf57d54ec8476c1d4f5749c1ec3f82b (diff)
downloadpodman-2b85f62a23e592a115fe8cab0c1b1f4b2dda36da.tar.gz
podman-2b85f62a23e592a115fe8cab0c1b1f4b2dda36da.tar.bz2
podman-2b85f62a23e592a115fe8cab0c1b1f4b2dda36da.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 {