Do not set StaticDirSet, TmpDirSet,VolumePathSet
These indicate that the user has modified the settings. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
76b630abd7
commit
cd83b65ee2
|
|
@ -442,16 +442,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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue