diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/commandfuncs.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/commandfuncs.go b/cmd/commandfuncs.go index 8526372..3cba47a 100644 --- a/cmd/commandfuncs.go +++ b/cmd/commandfuncs.go @@ -465,6 +465,8 @@ func cmdValidateConfig(fl Flags) (int, error) { input = adaptedConfig } + input = caddy.RemoveMetaFields(input) + var cfg *caddy.Config err = json.Unmarshal(input, &cfg) if err != nil { |