diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-07 18:02:00 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-07 18:02:41 -0400 |
commit | cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e (patch) | |
tree | 791838d80e179b941f37d525cacd26b4fc961de5 /vendor/github.com | |
parent | e9b178556d89fa7d483826fbfb59e1075081f800 (diff) | |
download | podman-cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e.tar.gz podman-cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e.tar.bz2 podman-cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e.zip |
Fix handling of overridden paths from database
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/containers/common/pkg/config/config.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/github.com/containers/common/pkg/config/config.go b/vendor/github.com/containers/common/pkg/config/config.go index b65db2722..aa956da04 100644 --- a/vendor/github.com/containers/common/pkg/config/config.go +++ b/vendor/github.com/containers/common/pkg/config/config.go @@ -435,16 +435,6 @@ func readConfigFromFile(path string, config *Config) (*Config, error) { if err != nil { return nil, fmt.Errorf("unable to decode configuration %v: %v", path, err) } - if config.Engine.VolumePath != "" { - config.Engine.VolumePathSet = true - } - if config.Engine.StaticDir != "" { - config.Engine.StaticDirSet = true - } - if config.Engine.TmpDir != "" { - config.Engine.TmpDirSet = true - } - return config, err } |