diff --git a/embed/config.go b/embed/config.go index 5e51c314b..cb1ff1147 100644 --- a/embed/config.go +++ b/embed/config.go @@ -160,7 +160,7 @@ func NewConfig() *Config { } func ConfigFromFile(path string) (*Config, error) { - cfg := &configYAML{} + cfg := &configYAML{Config: *NewConfig()} if err := cfg.configFromFile(path); err != nil { return nil, err }