diff --git a/config/compat.go b/config/compat.go index 97833209..41f03bb1 100644 --- a/config/compat.go +++ b/config/compat.go @@ -61,6 +61,7 @@ type configV112 struct { // It returns an error if the config file cannot be updated. func updateConfigV112(fp string, r io.Reader, cfg *Config) error { dec := yaml.NewDecoder(r) + dec.KnownFields(true) old := configV112{ Consensus: struct {