pkg/config: do NOT set StaticDir and VolumeDir

Let callers (i.e., Podman) decide which defaults to chose.  This way,
callers know when to override defaults (i.e., when the values are
empty).

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2023-09-21 10:46:07 +02:00
parent ab4a3cc433
commit 7cad0ac3a8
1 changed files with 0 additions and 2 deletions

View File

@ -301,8 +301,6 @@ func defaultEngineConfig() (*EngineConfig, error) {
c.graphRoot = storeOpts.GraphRoot
c.ImageCopyTmpDir = getDefaultTmpDir()
c.StaticDir = filepath.Join(storeOpts.GraphRoot, "libpod")
c.VolumePath = filepath.Join(storeOpts.GraphRoot, "volumes")
c.VolumePluginTimeout = DefaultVolumePluginTimeout
c.CompressionFormat = "gzip"