summaryrefslogtreecommitdiff
path: root/pkg/util/utils.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-03-01 13:07:24 -0600
committerBrent Baude <bbaude@redhat.com>2022-03-01 13:23:43 -0600
commit22f331e540b056528fcb356c9ac474a5c290d776 (patch)
treee4038824716aebb6d565ca5a8a155f3010f6ade0 /pkg/util/utils.go
parent8bdda91ab738d634528259581c8adebe1db007b4 (diff)
downloadpodman-22f331e540b056528fcb356c9ac474a5c290d776.tar.gz
podman-22f331e540b056528fcb356c9ac474a5c290d776.tar.bz2
podman-22f331e540b056528fcb356c9ac474a5c290d776.zip
Revert "use GetRuntimeDir() from c/common"
This reverts commit fc5cf812c81a10f8a021aae11df5f12ab2a6f6f6. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/util/utils.go')
-rw-r--r--pkg/util/utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index bdd1e1383..925ff9830 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -463,6 +463,8 @@ func ParseIDMapping(mode namespaces.UsernsMode, uidMapSlice, gidMapSlice []strin
var (
rootlessConfigHomeDirOnce sync.Once
rootlessConfigHomeDir string
+ rootlessRuntimeDirOnce sync.Once
+ rootlessRuntimeDir string
)
type tomlOptionsConfig struct {