Skip to content

Commit

Permalink
pkg/config: do NOT set StaticDir and VolumeDir
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vrothberg committed Sep 21, 2023
1 parent 865cf68 commit 5e6ac49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5e6ac49

Please sign in to comment.