From cd83b65ee2ec17a57862212af8783f1f5cb65908 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 7 May 2020 16:07:36 -0400 Subject: [PATCH] Do not set StaticDirSet, TmpDirSet,VolumePathSet These indicate that the user has modified the settings. Signed-off-by: Daniel J Walsh --- common/pkg/config/config.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/pkg/config/config.go b/common/pkg/config/config.go index 0f17c27c9e..6112844769 100644 --- a/common/pkg/config/config.go +++ b/common/pkg/config/config.go @@ -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 }